Question: DBMS Question 3. (5*1) = 5 Consider the following schema. where the primary keys are given. Give an expression in SQL for each of the

DBMS Question
3. (5*1) = 5 Consider the following schema. where the primary keys are given. Give an expression in SQL for each of the queries. Person ( FirstName:String, LastName:String, Age, Email: varchar) FacebookUser (FbUserID: Integer, FbUserName:String, Email:varchar, Num_of_friend: integer, Num_of_pic: integer) WhatsApp User (WhatsAppUserID: Integer, FBUserID: Integer, Cell_num: varchar, WhatsAppUserName:String , No_Of_Groups: Integer) Now, Give an expression in SQL for each of the queries. a) Find the Facebook user who shares the least number of pictures. b) Find the WhatsApp users who are GrameenPhone users (GrameenPhone numbers start with 017.... Or 013....) c) Show the details of your own Facebook account searching by your valid DIU Email. d) List the full names of Facebook users having gmail addresses in dictionary order based upon their names. e) Show all the details of those Facebook users whose number of friends is more than or equal to 500 but less than or equal to 1000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
