Assignment 2

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Q1. Define SQL and its uses.

Q2. Write difference between DDL and DML commands.

Q3 Explain various types of constraints.

Q4. Write SQL Queries on the basis on following table:

Customers

customer_ ag
first_name last_name country
id e
1 John Doe 31 USA
2 Robert Luna 22 USA

3 David Robinson 22 UK

4 John Reinhardt 25 UK

5 Betty Doe 28 UAE

i. Display the name of the customers starting with ‘J’.


ii. Delete the details of customer id 4.
iii. Increase the age by 10 of all customers.
iv. Add the new column pincode in table.
v. Display the name of the customers living in USA.

You might also like