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
Tom [10]
3 years ago
5

find all breweries that specialize in a particular beer style. A brewer is considered specialized if they produce at least 10 be

ers from the same style. Show the brewer's name, style name, and how many beers the brewer makes of that style. Display the records by style name first and then by breweries with the most beers within that style.
Computers and Technology
1 answer:
kolbaska11 [484]3 years ago
7 0

Answer:

select style_name,br.name as brewery,count(beer_id) as Num

from beerdb.beers be  

inner join beerdb.styles st

on be.style_id = st.style_id

join beerdb.breweries br on  

be.brewery_id = br.brewery_id

group by style_name , br.name  

having count(beer_id)>=10

order by style_name, num desc

Explanation:

You might be interested in
What is the deffirentiates in organs from tissues
lisov135 [29]

Explanation:

A group of cells working together is defined as a TISSUE

And a group of tissues working together is defined as an ORGAN

Example : A heart Is an organ which is made up from muscle and valve Tissue.

6 0
3 years ago
"Cookies cannot reliably identify individual users." Which of the following is the reason for the statement shown above? Group o
Tresset [83]

Answer: Individual users use different browsers on the same computer to surf the Web.

Explanation:

Cookies are referred to as the text files that contains small pieces of data such as username and password which can be used in the identification of the computer of the user when the user uses a particular network.

The main reason why cookies cannot reliably identify individual users is due to the fact that individual users use different browsers on the same computer to surf the Web.

5 0
3 years ago
When working with a team you should always do the following, except?
Svetllana [295]

Answer: Critique members of the group.

In this case critiquing other members of the group may not be the best thing to do in a team. There are however some cases where critiquing members would be helpful, as long as you are all in the same wavelength.

Being dependable and trustworthy is one of the best things that you can do in a team. Being sensitive to others feelings would be a good contributing factor as long as you wont allow it to take over your judgement. Last but not the least is doing your fair share of work in the team. Doing your fair share would suffice, but going above and beyond would also benefit the team.

7 0
3 years ago
What is the character that seperates data entries from one another.
Kazeer [188]
The term that would best be applicable to the character that divides entries from one another for convenience would be a delimiter. In addition, these delimiters comprise sequences in which they are intended to indicate a boundary between regions of independent data streams and other texts.
4 0
3 years ago
Declare and implement a function called gameOver.gameOver receives a single 3x3 char[] [] array as a parameter, representing a t
svlad2 [7]

Answer:

The function in C++ is as follows:

char gameOver(char arr[][3]){

   char winner = ' ';

   if((arr[0][0] == 'X' && arr[0][1] == 'X' && arr[0][2] == 'X') ||(arr[1][0] == 'X' && arr[1][1] == 'X' && arr[1][2] == 'X') || (arr[2][0] == 'X' && arr[2][1] == 'X' && arr[2][2] == 'X')||(arr[0][0] == 'X' && arr[1][0] == 'X' && arr[2][0] == 'X') ||(arr[0][1] == 'X' && arr[1][1] == 'X' && arr[2][1] == 'X') || (arr[0][2] == 'X' && arr[1][2] == 'X' && arr[2][2] == 'X')){

       winner = 'X';

   }

   else if((arr[0][0] == 'O' && arr[0][1] == 'O' && arr[0][2] == 'O') ||(arr[1][0] == 'O' && arr[1][1] == 'O' && arr[1][2] == 'O') || (arr[2][0] == 'O' && arr[2][1] == 'O' && arr[2][2] == 'O')||(arr[0][0] == 'O' && arr[1][0] == 'O' && arr[2][0] == 'O') ||(arr[0][1] == 'O' && arr[1][1] == 'O' && arr[2][1] == 'O') || (arr[0][2] == 'O' && arr[1][2] == 'O' && arr[2][2] == 'O')){

       winner = 'O';

   }

   return winner;

}

Explanation:

The function checks for the winning character by checking for matching rows and matching columns.

When either X or O fall in the any of the following 6 conditions , then that character (X or O) wins.

The position are:

Rows: (1) 00, 01 and 02 (2) 10, 11 and 12 (3) 20, 21 and 22

Columns: (4) 00, 10 and 20 (5) 01, 11 and 21 (6) 02, 12 and 22

So, the explanation is:

This defines the function gameOver

char gameOver(char arr[][3]){

This initializes winner to blank space

   char winner = ' ';

If any of the condition stated above matches X, then X wins

<em>    if((arr[0][0] == 'X' && arr[0][1] == 'X' && arr[0][2] == 'X') ||(arr[1][0] == 'X' && arr[1][1] == 'X' && arr[1][2] == 'X') || (arr[2][0] == 'X' && arr[2][1] == 'X' && arr[2][2] == 'X')||(arr[0][0] == 'X' && arr[1][0] == 'X' && arr[2][0] == 'X') ||(arr[0][1] == 'X' && arr[1][1] == 'X' && arr[2][1] == 'X') || (arr[0][2] == 'X' && arr[1][2] == 'X' && arr[2][2] == 'X')){</em>

<em>        winner = 'X';</em>

<em>    }</em>

If otherwise that it matches O, then O wins

<em>    else if((arr[0][0] == 'O' && arr[0][1] == 'O' && arr[0][2] == 'O') ||(arr[1][0] == 'O' && arr[1][1] == 'O' && arr[1][2] == 'O') || (arr[2][0] == 'O' && arr[2][1] == 'O' && arr[2][2] == 'O')||(arr[0][0] == 'O' && arr[1][0] == 'O' && arr[2][0] == 'O') ||(arr[0][1] == 'O' && arr[1][1] == 'O' && arr[2][1] == 'O') || (arr[0][2] == 'O' && arr[1][2] == 'O' && arr[2][2] == 'O')){</em>

<em>        winner = 'O';</em>

<em>    }</em>

This returns the winner (either O, X or blank)

   return winner;

<em>See attachment for complete program which includes the main</em>

Download cpp
7 0
3 years ago
Other questions:
  • Complete the recursive function raisetopower(). ex: if userbase is 2 and userexponent is 4, then raisedvalue is assigned with 16
    5·1 answer
  • A __________ network is good for connecting computers over boundaries.
    6·2 answers
  • Database administrators must make sure that ________ and ________ techniques and procedures are operating to protect the databas
    6·1 answer
  • Firmware is: *
    9·2 answers
  • Which command displays the contents of the NVRAM?
    13·1 answer
  • Java-Script Concept quiz:
    6·1 answer
  • Write a method named removeRange that accepts an ArrayList of integers and two integer values min and max as parameters and remo
    10·1 answer
  • Which plan includes procedures and processes that ensure the smooth functioning of the business even after a disaster?
    14·2 answers
  • Pick the correct statements on the 64-bit machine representation of numbers.
    5·1 answer
  • Which educational qualification would help a candidate get a job as a computer systems engineer?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!