BBSR T2 QP Ip Xii
BBSR T2 QP Ip Xii
Write SQL queries using SQL functions to perform the following operations:
a) Display salesman name and bonus after rounding off to zero decimal places. 15
b) Display the position of occurrence of the string “TA” in salesman names.
c) Display the four characters from salesman name starting from second character.
d) Display the month name for the date of join of salesman .
Q12. Write SQL commands for the following table MOVIE: 4
NO TITLE TYPE RATING SEATS_LEFT PRICE
Q13. You have given to create a network in your school building. It has 4 blocks 4
of buildings.
Distance between the various blocks is as follows:
A to B - 50 m
A to C - 60 m
A to D - 110m
D to B - 60m
D to C - 100m
C to A - 70m
Numbers of computers in each block
Block A - 20
Block D - 50
Block B - 15
Block C– 30
Block A Block B
(Language
(Primary) Lab)
Block C Block D