Q2. Write SQL query to insert one row in each table.
Answer the following questions using SQL Queries
Count the number of sailors. Count the number of different sailor names. Find the names of sailors who are older than the oldest sailor with a rating of 10. Find the age of the youngest sailor for each rating level. Find the age of the youngest sailor who is eligible to vote (i.e., is at least 18 years old) for each rating level with at least two such sailors. For each red boat, find the number of reservations for this boat Find the average age of sailors for each rating level that has at least two sailors. Find the average age of sailors who are of voting age (i.e., at least 18 years old) for each rating level that has at least two sailors. Find the average age of sailors who are of voting age (i.e., at least 18 years old) for each rating level that has at least two such sailors Find those ratings for which the average age of sailors is the minimum overall ratings.