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.
using primary can we relate two table, with out foreign key?
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?
what is mysql optimization in brief?
How internally data stores in MyISAM and INNODB table types?