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
Hitman42 [59]
3 years ago
12

1. Write a query in SQL to list the following information of the artists in movie industry. Limit this information to only 5 art

ists. Sort the information by age descending order. Full name : first name and last name separated by space Age: Current age Address: State that he resides Contact number: Phone number
Computers and Technology
1 answer:
Rudik [331]3 years ago
6 0

Answer:

1) SQL Server

SELECT  Top 5 concate(first name,' ',last name) AS Full name, Current age AS Age, state AS Address, Phone number AS Contact number from actor ORDERBY Current age DSC ;

2) MySQL

SELECT  concate(first name,' ',last name) AS Full name, Current age AS Age, state AS Address, Phone number AS Contact number from actor ORDERBY Current age DSC limit 5;

Explanation:

There two queries first having syntax works fine in SQL server and later with MySQL. All bold faced words are sql keywords. I assumed the tablename is actor as table name is not given if table name is any other replace actor with that name.

You might be interested in
What is the final value of the string output given the following code fragment? int counter = 0; int num = 0; string output = ""
swat32

int counter = 0;

int num = 0;

string output = "";

while (counter < 3) {

num = num * 1;

counter = counter + 1; }

output = Convert.ToString(num);

Output:

Counter = 0

num = 0 * 1 - - > num = 0

Counter = 1

num = 0 * 1 - - > num = 0

Counter = 2

num = 0 * 1 - - > num = 0

Counter = 3 (break)

num = 0

output = "0"

3 0
4 years ago
Explain the third <br> generation
meriva
Computers were computers that emerged due to the development of the integrated circuit.
8 0
3 years ago
Why might you need to convert a file to another file type?
Elis [28]
c i belive that is the right answer

5 0
3 years ago
Read 2 more answers
which type of group found in server 2008 is used to provide access to resources for all users and guests​
evablogger [386]

Answer:

Everyone

Explanation:

There are various types of groups found on the server 2008, and everyone is one out of them. Here we are required to provide them access to the resources to all the users as well as the guests. And hence, we need to provide all the access to the resources. Thus, the correct option here is certainly everyone, which is an option available in the server 2008.

5 0
4 years ago
¿Hablar de datos o Internet es lo mismo o no? justifique su respuesta​
Tasya [4]

Answer:

no,por qué si hablas de datos puedes tener internet o red en cualquier lugar que vallas o estés , mientras que internet solo puedes usarlo mientras estés en el lugar donde se encuentra el módem.

4 0
3 years ago
Other questions:
  • What does a first line indent look like
    13·1 answer
  • What is the output of the loop for count in range(5): print(count)?
    6·1 answer
  • Como puedo poner fondo a mi teclado​
    9·1 answer
  • The program evaluation and review technique (PERT) is __________. a. a network-based technique in which there is a single time e
    15·1 answer
  • 5 provisions of computer ethics
    6·1 answer
  • Consider the following arrays. 1 4 21 2 4 100 B # 111(A) L3π 42 Write MATLAB expressions to do the tollowing a. Select just the
    13·1 answer
  • An author is preparing to send their book to a publisher as an email attachment. The file on their computer is 1000 bytes. When
    7·1 answer
  • What do other people think of e.t <br> in the movie E.T
    5·1 answer
  • Hey! I was recommended a site “9anime” the other day. All’s been going well but I accidentally taped on a new dub settingZ somet
    8·2 answers
  • A technician is troubleshooting a Windows computer and needs to stop the explorer.exe process.Multiple attempts to open Task Man
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!