Very Imp It File
Very Imp It File
practic
al
file
by:- shaurya Gupta
XI-K
practical-1
MySQL
MySQL is an open-source relational
database management system (RDBMS)
that stores and manages data
Uses Of MySQL
MySQL is an open-source Relational
•
code's
how to make a database?
CREATE DATABASE databasename ;
WHARE CLAUSE
WHERE clause is used to filter records. It is used to extract only
those records that fulfill a specified condition.
Assignment-1
1. Create the database LOANS.
it.
4. Display the details of all the loans.
5. Display the AccNo, Cust_Name, and Loan_Amount of
all the loans.
6. Display the details of all the loans with less than 40
installments .
13. Display the details of all the loans started after 31-12-
2008 for which the number of instalments are more
than 36.
14. Display the Cust_Name and Loan_Amount for all the
loans which do not have number of instalments 36.
16. Display the details of all the loans which started in the
year 2009.
21. Display the details of all the loans whose rate of interest
is in the range 11% to 12%. (Using BETWEEN operator)
30. Put the interest rate 11.50% for all the loans for which
interest rate is NULL.
Assignment-2
1. Create the table Empl with Primary key constraint
11. List the details of all employees who have four letters
name.
12. List the details of all employees whose name starts with
‘M’.
13. List the details of all employees whose name ends with
‘A’.
14. List name of all employees whose commission is not
null.
15. List the details of all employees who are either CLERK or
SALESMAN.
16. List the details of all employees who were hired in year
1991.
3 double click the button it will bring you to the coding part.
I am going to be writing a simple code to add the value of
jtf1 and jtf2 and the sum will be shown on jtf3 after
pressing the button labeled bt1.
Assignment's
Q1 write a program to printout total marks and percentage
given the marks in three subjects that are Hindi English and
Math.
calculate
clear
exit
exit
Q7 write a program to input the first and the last name and
output the full name along with the message 'good morning.
Q8
/kjhgf