A Railway company uses machines to …
CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
A Railway company uses machines to sell tickets. The machine details and daily sales
information are recorded in two tables: Table Name: Machine
Table Name: Sales
The primary key of the table Machine is Machine_ID. Records in the table Sales are uniquely
identified by the fields Machine_ID and Date.
(a) Create the tables Machine and Sales.
(b) Write a query to find the number of ticket machines in each station.
(c) Write a query to find the total ticket income of the station “New Delhi” of each day.
(d) Write a query to find the total number of tickets sold by the machine (Machine_ID = 122)
till date.
Posted by Parveen Singh 1 year, 2 months ago
- 0 answers
ANSWER
Related Questions
Posted by Prawar Narang 1 year, 1 month ago
- 1 answers
Posted by Kandeepan Jothivel 1 year, 1 month ago
- 2 answers
Posted by Hanni Pham 11 months, 2 weeks ago
- 1 answers
Posted by Syedali Fathima 1 year ago
- 1 answers
Posted by Hanni Pham 11 months, 2 weeks ago
- 0 answers
Posted by Priya Shukla 1 year ago
- 1 answers
myCBSEguide
Trusted by 1 Crore+ Students
Test Generator
Create papers online. It's FREE.
CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app