Question: please answer this question Lab Exercise(5%) According to the following tables write the necessary SQL queries: Order Table Employee Order ID 1024 10249 10250 Customer
Lab Exercise(5%) According to the following tables write the necessary SQL queries: Order Table Employee Order ID 1024 10249 10250 Customer 90 31 Order Date 1990-01-04 1996-03-05 Shippert 3 1 4 2 10251 54 3 1 1996-07-08 1996-07-08 1996-07-09 1996-07-10 10252 75 4 2 10253 34 3 Shipper Table Shippert 1 Shipperfilame Speedy Express United Package Tedesco Phone (503) 555952 (503) 955-3219 2 1503) 555-9955 Customer Table: ContactName Address Postal Code Country City Berlin German Maria Anders Ana Obere Set 52 Avda. de la Constitucin 05021 Mexico CustomerID Customer Name 1 Alfreds Futterkiste 2 Ana Trujillo Emparedados y helados 3 Antonio Moreno There Around the Horn Antonio Moreno Mataderos 2312 Mexico 0502 Mexico Thomas Hardy 120 Hanover 54 London WALD Q1) Selects all records that have matching values in both tables.1.5 Marks Q2) Select all orders with customer and shipper information.1.5 Marks Q3) Lists the number of customers in each country. Only include countries with more than 5 customers.2 Marks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
