STRUCTURE OF THE TABLE
Q1 Write a query to show the records of table job?
Q2 Write a query to display the column name ?
Q3 Write a query to display those records of name who have four
letter?
Q4 How many jobs are offered to the employees?
Q5 Write a query to display the name of employees whose letter
start from ‘a%’?
TABLE 1
STRUCTURE OF THE TABLE
Q1 Write the query to display the records of table
village animal?
Q2 Write the query to Arrange the number of student
in descending order?
Q3 Write a query to display name who has ‘o’ as a
second letter?
Q4 Write a query to display those name whose number
of animal is more than and equal to 300?
Q5 Display the records of cows in village.
TABLE 2
STRUCTURE OF THE TABLE
Q1 Display the records of table result.
Q2 Display the records whose percentage is more than
70
.
Q3 Arrange the percentage in ascending order.
Q4 Display the column name and percentage of table
result.
Q5 Display the records which start from letter’s’.
TABLE 3
STRUCTURE OF THE TABLE
Q1 Display all the record of table train.
Q2 Arrange the train number in ascending order.
Q3 Display the column name and train number.
Q4 Write a query to display the records of train
jammutavi express.
Q5 Write a query whose second letter of train name
start from ‘a’?
TABLE 4
STRUCTURE OF THE TABLE
Q1 Display the records of table electricity bill.
Q2 Display the records whose date of submissionis not
entered.
Q3 Display the records whose date of submission is
entered.
Q4 Display the records whose bill amount is between
600 and 900.
Q5 Display the records of abhinav,mohit and rohit.
TABLE 5
STRUCTURE OF THE TABLE
Q1 Display all the records of table register.
Q2 Add the PRIMARYKEY to the column roll.no.
Q3 Display the records of aditi.
Q4 Delete the records of aditi.
Q5 Add one more column of “MARKS” of data type
decimal (5,2).
TABLE 6
STRUCTURE OF THE TABLE
Q1 Display all the records of table Employees.
Q2Write the query to display the records of manager.
Q3 Add column commission.
Q4 Set 700Rs in a commissioncolumn.
Q5Write a query to display the records of harish or
jaideep.
TABLE 7
STRUCTURE OF THE TABLE
Q1 Display the records of table marks.
Q2 Add primary key to the column roll no.
Q3 Set the marks 80 and name as a princy.
Q4 Delete the column marks.
Q5 Write a query to identify the name in ascending
order.
TABLE 8
STRUCTURE OF THE TABLE
Q1 Display all the records of table sale.
Q2 Add the column Total_price.
Q3 Write the query to calculate the total price.
Q4 Write a query to display those records whose
discount is more than 60.
Q5 Delete the column discount.
TABLE 9
STRUCTURE OF THE TABLE
Q1 Display the records of table product.
Q2 Display the records whose price is more than and
equal to 30.
Q3 Increases the price of all products by 20% .
Q4 Remove the primary key from the column Item.no .
Q5 Drop the record where Item.no=8269.
TABLE 10
STRUCTURE OF THE TABLE
STRUCTURE OF THE TABLE

java mysql 12 class

  • 1.
    STRUCTURE OF THETABLE Q1 Write a query to show the records of table job? Q2 Write a query to display the column name ? Q3 Write a query to display those records of name who have four letter? Q4 How many jobs are offered to the employees? Q5 Write a query to display the name of employees whose letter start from ‘a%’? TABLE 1
  • 2.
    STRUCTURE OF THETABLE Q1 Write the query to display the records of table village animal? Q2 Write the query to Arrange the number of student in descending order? Q3 Write a query to display name who has ‘o’ as a second letter? Q4 Write a query to display those name whose number of animal is more than and equal to 300? Q5 Display the records of cows in village. TABLE 2
  • 3.
    STRUCTURE OF THETABLE Q1 Display the records of table result. Q2 Display the records whose percentage is more than 70 . Q3 Arrange the percentage in ascending order. Q4 Display the column name and percentage of table result. Q5 Display the records which start from letter’s’. TABLE 3
  • 4.
    STRUCTURE OF THETABLE Q1 Display all the record of table train. Q2 Arrange the train number in ascending order. Q3 Display the column name and train number. Q4 Write a query to display the records of train jammutavi express. Q5 Write a query whose second letter of train name start from ‘a’? TABLE 4
  • 5.
    STRUCTURE OF THETABLE Q1 Display the records of table electricity bill. Q2 Display the records whose date of submissionis not entered. Q3 Display the records whose date of submission is entered. Q4 Display the records whose bill amount is between 600 and 900. Q5 Display the records of abhinav,mohit and rohit. TABLE 5
  • 6.
    STRUCTURE OF THETABLE Q1 Display all the records of table register. Q2 Add the PRIMARYKEY to the column roll.no. Q3 Display the records of aditi. Q4 Delete the records of aditi. Q5 Add one more column of “MARKS” of data type decimal (5,2). TABLE 6
  • 7.
    STRUCTURE OF THETABLE Q1 Display all the records of table Employees. Q2Write the query to display the records of manager. Q3 Add column commission. Q4 Set 700Rs in a commissioncolumn. Q5Write a query to display the records of harish or jaideep. TABLE 7
  • 8.
    STRUCTURE OF THETABLE Q1 Display the records of table marks. Q2 Add primary key to the column roll no. Q3 Set the marks 80 and name as a princy. Q4 Delete the column marks. Q5 Write a query to identify the name in ascending order. TABLE 8
  • 9.
    STRUCTURE OF THETABLE Q1 Display all the records of table sale. Q2 Add the column Total_price. Q3 Write the query to calculate the total price. Q4 Write a query to display those records whose discount is more than 60. Q5 Delete the column discount. TABLE 9
  • 10.
    STRUCTURE OF THETABLE Q1 Display the records of table product. Q2 Display the records whose price is more than and equal to 30. Q3 Increases the price of all products by 20% . Q4 Remove the primary key from the column Item.no . Q5 Drop the record where Item.no=8269. TABLE 10
  • 11.
  • 12.