1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
SSSSS [86.1K]
4 years ago
5

Using Structured Query Language (SQL), create a query that gets the following data from the sakila database:

Computers and Technology
1 answer:
bezimeni [28]4 years ago
3 0

<em>Queries to get data from sakila database using Structured Query Languange (SQL): </em>

<em>Assuming that you have created a Database already, with tables in it, containing at least 50 records and these fields: </em>

<em> </em>

<em>ACTOR_LASTNAME, ACTOR_FIRSTNAME, FILM_TITLE </em>

<em> </em>

<em>Take note that the database and table name is both "sakila". </em>

<em>1. We can fetch, display or get data using SELECT command or query. Let's type the command like this: </em>

<em> </em>

<em>SELECT ACTOR_LASTNAME, ACTOR_FIRSTNAME, FILM_TITLE FROM sakila  </em>

<em> </em>

<em>The command above is called SELECT command that would allow you to display records inside your table. Normally SQL programmers would execute SELECT * command, but since we are just required to display three (3) columns only, then we could just select the column names for our data display. Your columns are: SELECT ACTOR_LASTNAME, ACTOR_FIRSTNAME and FILM_TITLE. </em>

<em> </em>

<em>2. For the second command or query, we can execute this: </em>

<em />

<em>SELECT ACTOR_LASTNAME FROM sakila WHERE ACTOR_LASTNAME 'M%' ORDER BY ACTOR_LASTNAME . </em>

<em />

<em>The select where command is like a conditional statement (IF). Where is the statement used to display ACTOR_LASTNAME field starting with letter M. The ORDER BY command is the arrangement of the names in alphabetical order.  </em>

<em />

You might be interested in
Which country has the most common features of analogue and digital computer​
ANTONII [103]

Explanation:

i don't think rhis question could be..

4 0
3 years ago
Identify the places in the code where there are object-oriented concept violations, content coupling, common coupling, control c
8090 [49]

In this way, using the knowledge in computational language in JAVA it is possible to write a code that identifies the directories and also the people who own these directories:

<h3>Writing the code we have:</h3>

<em>import java.util.Scanner;</em>

<em>public class PersonnelDirectory</em>

<em>{</em>

<em>public static void main(String[] args)</em>

<em>{</em>

<em>Personnel per = new Personnel();</em>

<em>totalObjects total = new totalObjects();</em>

<em>Scanner scan = new Scanner(System.in);</em>

<em>String firstN, lastN, middleN;</em>

<em>int empID;</em>

<em>double salary;</em>

<em>int choice = -1;</em>

<em>do{</em>

<em>System.out.println("Welcome to the Personnel Directory Management System");</em>

<em>System.out.println("\n\n\t 1. Add Personel");</em>

<em>System.out.println("\n\t 2. Find Personel");</em>

<em>System.out.println("\n\t 3. Print Names");</em>

<em>System.out.println("\n\t 4. Number of Entries in the Directory");</em>

<em>System.out.println("\n\t Select one of the options above (1, 2, 3, 4)");</em>

<em>choice = scan.nextInt();</em>

<em>scan.nextLine();</em>

<em>switch(choice)</em>

<em>{</em>

See more about JAVA at brainly.com/question/12975450

#SPJ1

3 0
2 years ago
What role/service is windows 2012 server backup part of?
seraphim [82]
The answer is (D) windows server essentials experience


When Windows server Essentials Experience Role available in Windows Server 2012 R2 Standard and Datacenter is installed, you can take advantage of the many features available in Windows Server 2012 R2 Essentials. This service enables you to protect your client and server by backing up all the client computers and your server within the network.


6 0
3 years ago
Judy forgot where she saved a certain file on her computer. Therefore, she searches for all files with a .jpg file extension. Wh
enot [183]
<span>JPG files, also known as JPEG files, are a common file format for digital photos and other digital graphics. So Judy would be looking for a picture.</span>
3 0
4 years ago
Read 2 more answers
What is a filter in excel (please keep your answer brief)
JulijaS [17]

Answer:

The Excel FILTER function "filters" a range of data based on supplied criteria. The result is an array of matching values the original range. When this array is the final result (i.e. the results are not handed off to another function) matching results will "spill" on to the worksheet.

Explanation:

3 0
3 years ago
Other questions:
  • 1. Customizable diagrams, including List, Process, and Cycle diagrams, are built into Word and can be found in
    15·2 answers
  • Please help!
    10·2 answers
  • Which of the following is a disadvantage of using open source software?
    14·1 answer
  • You will extend zyLab3, by adding a Player class and extending the PokemonField class. You will be working with three.java files
    13·1 answer
  • The entirety of a packet at one layer becoming the payload section at another layer is known as
    8·2 answers
  • The Classic Triangle Testing Problem, (Myer's Triangle): A program reads three integer values. The three values are interpreted
    10·1 answer
  • What is unique about the TODAY and NOW functions?
    15·2 answers
  • When a primitive type variable is passed as an argument to a method, what is passed into the receiving method's parameter variab
    12·1 answer
  • Ok it is important aspects which is perfect
    10·1 answer
  • Which computer language uses short words known as mnemonics for writing programs?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!