Table - Products has number of products as below
Table - SalesPersonProduct has the
Write a SQL query that returns the total number of sold products
I want to make a query where I want to eliminate the
duplicate rows from the table.
For example :
Input : Table : NAME
The desired output that I want to eliminate the duplicates
when i declare date data type in sql ,i inserted the date
22-10-2012,but my result is in different date 1894-07-11 any
one pls help me what's wrong in my query
Create table orders(od_id int,od_name varchar(10),od_date
insert into orders values(1,'sai',22-10-2012) and any one
pls suggest what i can learn for 3 years real time
experenice in sql because i am looking for database field
I've looked but can't find a MySQL equivalent for MS SQL's
xp_cmdshell. I have 7z files that I want to unzip and load
into MySQL. I'm trying to write a sp to do the unzip, but
I can't find a way to do that. Can anyone provide an
example of a similar process in Windows? TIA.
How to define numeric 9(3) in db2 table without decimal point??
How to set the time zone for MySQL to particular country
i made a table whih contain a column "Photo" with image
data type and i want to insert the byte of a picture
present in my hardisk using insert statement in that
colum... so what will be my insert statement?
how to get only updated, deleted , inserted records after
certain interval time in mysql with out using triggers...
How can you move the master database
How can you get your MySQL root password, if you lost it?
How internally data stores in MyISAM and INNODB table types?
This is kartik, I recently completed my B-tech. Importance
of posting this question is for to know the best books on
I like SQL concept's so much, at the same time i decided to
choose SQL for my career purpose. So please suggest me the
best books that are very helpful for a fresher to improve
concepts like (SQL/PLSQL)Basics, programming concepts,
architectures etc. Please consider my request as an
I am very thankful to you for providing this opportunity.
If possible can you please send the names of books for my
personal id also: firstname.lastname@example.org.
In a property booking section want a query to check that
property is booked from StartDate to EndDate.Booking Table
field are given
Waiting yours answer..
Thanks In Advance...
How to enable or disable a row of a table using MySQL in
Have you ever used MySQL Administrator and MySQL Query
Browser? Describe the tasks you accomplished with these
Can u give the example by taking an unnormalized table and
make that 1nf and then 25nf, and then 3 nf?
I want to insert userid of a customer,order time,etc in a
table called ordermaster with orderid as primary key.Same
time the product codes and required quantities (a1,2 and a2
4 and so on)inserted in another table orderdetails with same
orderid reference.How the code will be in JSP using MySQL?
using primary can we relate two table, with out foreign key?
1.how to fetch a value and Execute store procudure in
mysql(INNODB) using phpMyAdmin?
2.can i wright a package in mysql database(INNODB)?