Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions Sql1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
-- Question 1
select* from Sakila.actor;
-- Question 2
Select*From Actor
Where first_name = 'John';
-- Question 3
Select*from actor
Where last_name = 'Neeson';
-- Question 4
select*from actor
where actor_id %10=0;
-- Question 5
Select*From Sakila.film
where film_id= 100;
-- Question 6
Select*From sakila.film
where rating = 'r';
-- Question 7
Select*from sakila.film
where rating <> 'r';
-- Question 8
Select*from sakila.film
Order by length
limit 10;
-- Question 9
Select title from sakila.film
order by length
limit 10;
-- Question 10
Select*from sakila.film
where special_features= 'Deleted Scenes';
-- Question 11
Select distinct country from sakila.country;
-- Question 12
select * from sakila.language
order by name ASC;