Table - Products has number of products as below

Productid ProductName
1
iPhone
2
iPad
3
BlackBerry
Table - SalesPersonProduct has the
below records
Salespersonid
productid
S1
1
S1
2
S1
3
S2
1
S3
2

Write a SQL query that returns the total number of sold products


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More MySQL Interview Questions

What are the reasons for selecting lamp (linux, apache, mysql, php) instead of combination of other software programs, servers and operating systems?

0 Answers  


State the differences between mongodb and mysql.

0 Answers  


How do I select a table in mysql?

0 Answers  


How do I change global variables in mysql?

0 Answers  


What is the default port number of mysql?

0 Answers  






How do I edit a table in mysql?

0 Answers  


What is difference b/w composit key n primary key and forigion key?

4 Answers  


What is auto increment in mysql?

0 Answers  


How do I find the size of a mysql database?

0 Answers  


How can you move the master database

0 Answers   IBM,


What is normalization and list the different types of normalization?

0 Answers  


How do I install and use mysql?

0 Answers  


Categories