Computers

University

Image

SQL JOINS

78
plays

10 questions

Show Answers
See Preview
  • 1. Multiple Choice
    2 minutes
    5 pts
    Image

    Seleccione sentencia para listar todos los registros en los cuales num_books_read es mayor a 185

    SELECT * from family_members WHERE num_books_read > 185

    SELECT * family_members WHERE num_books_read > 185

    SELECT * from family_members WHERE num_books_read = 185

    SELECT * from family_members WHERE num_books_read >= 185

  • 2. Fill in the Blank
    2 minutes
    5 pts
    Image

    Complete la sentencia para agregar FK iddepartamento a la tabla usuarios: ALTER TABLE usuarios ___ usuarios_fk ___ REFERENCES departamentos(id)

  • 3. Multiple Choice
    2 minutes
    5 pts
    Image

    Seleccione sentencia para listar todos los perros con menos de 50 cm

    select * from friends_of_pickles where species='dog' and height_cm > 45

    select * from friends_of_pickles where species='dog' and height_cm < 45

    select * from friends_of_pickles where height_cm < 45

    select * from friends_of_pickles species='dog' and height_cm < 45

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?