Sei sulla pagina 1di 1

1. Create a query that will count all book titles under the databases category 2.

Create a query that will display the total number of registered male users 3. Create a query that will list all book titles, together with their IS !s that belong to "IC#" category $. Create a query that will list all books with a unit price that is at most %& dollars. Include in the list the book"s IS !, title, author, category and unit price %. Create a query that will list all books with a unit price that is within %& and 1&& dollars. Include in the list the book"s IS !, title, author, category and unit price '. Create a query that will only display those users whose role in the system is a "member". Include the user"s id, last name, gender and role in the generated list (. Create a query that will only display those female users whose role in the system is a "member". Include the user"s id, last name, gender and role in the generated list ). Create a query that will display a list of books that belong to any of the following categories* networking, IC# and programming. Include the each book"s IS !, title and category +. Create a query that will count the number of users whose last name starts with letter "m" 1&. Create a query that will display the id, name and address of all users whose first name ends with letter "o" 11. Create a query that will display the id, name and address of all users whose first and last name end with letter "o" 12. Create a query that will display the id, name and address of all users who ha,e letter "a" in their first names 13. Create a query that will list all names of users from # -.S/0S and arrange them by name in a descending order. 1$. 1odify the query created from the pre,ious requirement for it to display those who are male in gender 1%. Create a query that will display a list of book titles and arranged them by unit price. #he arrangement must be from the cheapest to the most e2pensi,e book in the list. #he following field must be included in the generated list* IS !, title, author, category, publisher and unit price 1'. 1odify the pre,ious query so that it displays 3!-4 those books under the category databases and IC#. 1(. Create a query that will produce a list of books that will include each book"s IS !, title, author and quantity. #he list must start from the book with the most numbers of copies down to the book with the fewest copies 1). 1odify the pre,ious query so that it displays 3!-4 those books written by authors whose names start with letter "5" and a unit price that falls below (& dollars 1+. Create a query that will display another list of books written by authors whose names start with letter "-" and category that falls under the IC#, databases or programming. 5rrange the list by IS ! in a descending order 2&. Create a query that will produce a user list that includes each user"s id, name, gender, username and password. #he list must be alphabetically arranged by username 21. 1odify the pre,ious query so that it displays 3!-4 those users whose gender is female male and whose names with letter 6a7 in it. 22. Create a query that computes and displays the a,erage unit price of books listed in query number $ /8mail your answer in the following address* fellyx_101@yahoo.com.ph

Potrebbero piacerti anche