Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Write a query to fetch duplicate records from a table using mysql?

0 Answers  


How do I clear the command in mysql?

0 Answers  


What are enums used for in mysql?

0 Answers  


What is default password for mysql?

0 Answers  


Is Mysql query is case sensitive?

0 Answers  


How to returns the columns and column information pertaining to the designated table.

0 Answers  


what is constraints? Also explain the different types of constraints?

0 Answers  


How to show all tables with 'mysql'?

0 Answers  


how we can use more then one primary key in Single Table

9 Answers   Systematix,


How to get last inserted id after insert data from a table in mysql?

0 Answers  


which version of mysql can't support stored procedure??

3 Answers  


In a property booking section want a query to check that property is booked from StartDate to EndDate.Booking Table field are given id proerty_id start_date checkout_date no_of_visitor booking date status Waiting yours answer.. Thanks In Advance...

1 Answers  


Categories