Give the logo commands for the following:
29. To find out the addition of 10 and 12
30. To calculate the remainder when 26 is divided by 3
31. To calculate the difference between 34 and 4
32. To multiply number 12 with 3
Answers
Answer:
consider the following table and answer the following :
ID Department OPD_DAYS Doctor_Name
H201 ENT MWF Akaash Arora
H308 Oncology TTS Dharma Sharma
H907 Paediatrics MWF Sanjay Singh
(a)
Identify suitable Primary Key from the above table.
(b)
Add a new record with the following data :
(‘H608’, ‘Cardiology’, ‘TTS’, ‘Vinita Wahi’)
(c)
Write a select query to display records of those Doctors whose OPD_DAYS are
‘MWF’.
Explanation:
consider the following table and answer the following :
ID Department OPD_DAYS Doctor_Name
H201 ENT MWF Akaash Arora
H308 Oncology TTS Dharma Sharma
H907 Paediatrics MWF Sanjay Singh
(a)
Identify suitable Primary Key from the above table.
(b)
Add a new record with the following data :
(‘H608’, ‘Cardiology’, ‘TTS’, ‘Vinita Wahi’)
(c)
Write a select query to display records of those Doctors whose OPD_DAYS are
‘MWF’.