Ayúdanos a dar forma a GoConqr. ¿Qué deberíamos añadir?

Test

++++++

Lilian Sw 31 preguntas

Hacer el test

Preguntas del test (31)

  1. 1You are structuring a table in a relational database.
    Instructions: For each of the following statement, select Yes if the statement is true. Otherwise, select No.
    1. AEach value in a field in a table must be unique.
    2. BEach row in a table must be unique.
    3. CEach column name in a table must be unique.
  2. 2You work at a coffee shop. They ask you to set up a website that stores charges on purchases.
    You need to recommend a data type in a database table to run financial functions against the charged amounts.
    Which data type should you recommend?
    1. AA. Money // Decimal
    2. BBit
    3. CVarchar
    4. DBinary
  3. 3Which two columns should you select? (Choose two.)
    Imagen de la pregunta 3
    1. AChapterId
    2. BLanguageId
    3. CCountry
    4. DRegion
    5. ECity
    6. FLanguageName
  4. 4You have a Department table and an Employee table in your database.
    You need to ensure that an employee can be assigned to only an existing department.
    What should you apply to the Employee table?
    1. AA primary key
    2. BAn index
    3. CA foreign key
    4. DA unique constraint
    5. EA data type
  5. 5You have two tables named Salesperson and Sales.
    You need to ensure that each record in the Sales table has a valid associated salesperson record in the Salesperson
    table. Which database object should you add to the Sales table?
    1. ANonclustered index
    2. BPrimary key
    3. CForeign key
    4. DClustered index
  6. 6Among the following, which sets limits or rules placed on a file or a column to ensure that the data is considered
    valid for a database?
    1. Achecker
    2. Bvalidator
    3. Cscanner
    4. Dconstraint
  7. 7A flower shop wants to see every flower ordered, but each flower should only show once. Which SQL statement
    will fulfill that need?
    1. ASELECT UNIQUE flowername FROM flowers
    2. BSELECT flowername FROM flowers DISTINCT
    3. CSELECT DISTINCT flowername FROM flowers
    4. DSELECT TOP 1 flowername FROM flowers
  8. 8A stored procedure contains the following query

    SELECT 'Greetings' + Prefix + ' ' + FirstName FROM Person;

    The stored procedure return all null values. You verify that there is data in the person table
    What is likely the cause of the problem
    1. AYou must specify the NULLIF keyword in the query
    2. BThe plus (+) operator cannot be used to append character data
    3. CThe Prefix or FirstName columns have null values
    4. DYou must specify the join keyword in the select statement
  9. 9You have the database table named Cars as defined below:Imagen de la pregunta 9
    1. A4
    2. B5
    3. C6
    4. D7
  10. 10A sales manager wants to see all customers with sales of at least 50000 who either reside in Los Angeles,
    California, or in the states of Nevada or Arizona. Which SQL statement will satisfy the request?
    1. ASELECT lastname, firstname
      FROM customers
      WHERE sales >-500ee OR ((city="Los Angeles' AND state='California') OR state IN ('Nevada', 'Arizona'))
    2. BSELECT lastname, firstname
      FROM customers
      WHERE sales >500ee AND ((city="Los Angeles' AND state='California') OR state IN ('Nevada', 'Arizona'))
    3. CSELECT lastname, firstname
      FROM customers
      WHERE sales >=50000 AND ((city="Los Angeles' AND state='California') OR state IN ('Nevada',
      'Arizona'))
    4. DSELECT lastname, firstname
      FROM customers
      WHERE sales >50000 OR((city="Los Angeles' AND state='California') AND state IN ('Nevada', 'Arizona'))

Información

Descripción
Test sobre ++++++, creado por Lilian Sw el 26/04/2026.
Idioma
English
Visitas
132
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Más sobre Relational Databases and the Relational Model

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué deberíamos añadir?