GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

Given a functional dependency AB→C in a relation, which of t…

Given a functional dependency AB→C in a relation, which of the following statements is incorrect regarding splitting?

Read Details

Given the following relations:    Booking(agent: String, tra…

Given the following relations:    Booking(agent: String, traveler ssn: integer, trip id: integer) GoesOn(ssn: integer, id: integer) Leg(Trip id: integer, startLocation: String, endLocation: String, startDate: Date, endDate: Date) Owns(ssn: integer, passport number: integer, country: String) Passport(passport number: integer, country: String, expirationDate: Date, holderName: String) TravelAgent(name: String, years experience: integer, phone: String) Traveler(name: String, ssn: integer, dob: Date) Trip(id: integer, start location: String, end location: String, start date:Date, end date: Date)   Show the SQL queries for the following questions (2 points each): 1) List the names of travelers who have not booked any trips. 2) List trip details booked by agents with at least 10 years of experience. 3) Retrieve the names of travelers who have traveled to at least two different destinations. 4) List the names of travelers who do not have a passport.

Read Details

Consider the following SQL query:   SELECT DISTINCT agent, t…

Consider the following SQL query:   SELECT DISTINCT agent, traveler_ssn FROM Booking;   Which of the following best describes the result of this query?

Read Details

Given the two relations R and S as bags with the following r…

Given the two relations R and S as bags with the following records      Perform a Natural Outer Join between R and S. You must show the final resulting relation here on canvas. Intermediary steps will not be graded.

Read Details

Given the functional dependencies A→B and B→C, which of the…

Given the functional dependencies A→B and B→C, which of the following statements is true?

Read Details

In a relational database, if we say that “A → B” is a functi…

In a relational database, if we say that “A → B” is a functional dependency, what does it imply?

Read Details

Consider the following SQL statement:   UPDATE Employees SE…

Consider the following SQL statement:   UPDATE Employees SET salary = salary * 1.10 WHERE department = ‘HR’;   What will this command do?

Read Details

When using UNION between two SELECT statements, what will th…

When using UNION between two SELECT statements, what will the resulting output include?

Read Details

Which tube gives you plasma instead of serum?

Which tube gives you plasma instead of serum?

Read Details

A beekeeper is studying how long it takes for the next bee t…

A beekeeper is studying how long it takes for the next bee to return to a hive after the previous one arrives. Which distribution best models the time between bee arrivals?

Read Details

Posts pagination

Newer posts 1 … 36,594 36,595 36,596 36,597 36,598 … 93,912 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top