Write down a select statement that lists the studentid

Assignment Help Computer Engineering
Reference no: EM1333315

I have tried there two queries, but I am told that I am not doing something right. Here are the criteria I used to write the queries and my current answers.

1. Write a SELECT statement that lists the StudentID, FirstName, LastName, and GPA of freshman (FR) whose GPA is 3.5 or higher. Use only the Student table.
My query:
SELECT StudentID, FirstName, LastName, GPA
FROM Students
WHERE Year like '%FR%' AND GPA >= 3.5

2. Write a SELECT statement that returns all the information for junior and senior students whose GPAs are lower than 3.0. Sort by LastName in descending order. Use only the Students table.
My query:
SELECT *
FROM Students
WHERE GPA < 3.0 and Year like '%JR%' OR '%SR%'
ORDER BY LastName DESC

How can I edit my queries so that they are completely correct. The SQLyog is returning the correct answers, but I keep getting marked incorrect.

Reference no: EM1333315

Questions Cloud

Make a view called v_no_cost : Using the ITD410_P1 database you created for the Independent Project in Unit 1, write scripts in a file known  ITD410_P3.SQL to create the following views. Remember to include a uses clause at the top of your script file to use the ITD410_P1 datab..
Arbitrage with forward and option contracts : What opportunity is open to an arbitrageur when a 180-day European call option to buy 1 Euro for $1.3083 costs $0.02 per Euro? Assume the size of forward and options contracts to be 1,000,000 Euros each. Ignore borrowing costs.
Explanation of the role of the hr manager : Explanation of the role of the HR manager - What do you think about below quote as a HR manager?
Explain significance of the tcp/ip protocol : Explain Significance of the TCP/IP protocol and What is the significance of the TCP/IP protocol in the ubiquitous e-commerce world we are entering
Write down a select statement that lists the studentid : I have tried there two queries, but I am told that I am not doing something right. Here are the criteria I used to write the queries and my current answers.
Intersecting indifference curves : Intersecting indifference curves would reflect a violation of the more is better principle.
Recovering from service failure : Recovering from a service failure requires different strategies and methods for hotel serving business travellers than for restaurant serving family dinners. State whether you agree or disagree.
Explain nsight into lack of security features : Explain Nsight into lack of security features or enhanced protocols and The architects of the new Internet Protocol address structure
Develop a human resource department : Develop a Human Resource Department for Titan Company -Can you help me to develop/write (the below 6 titles) a Human Resources department according to the data below

Reviews

Write a Review

Computer Engineering Questions & Answers

  Make a clear button that will clear both text boxes

Your employer has requested the growth of a software application to calculate the area of a circle. The application must accept only one value (i.e., the radius), and it must display the result in decimal value.

  Program to determine persons body mass index

Develop a program which determines a person's body mass index. Develop the modular program which determine and display a person's body mass index (BMI).

  Explain data link layer characteristics

Why is the Data Link layer considered to be the most unique layer amongst all the layers of the OSI Model.

  Express about choosing which server-side scripting language

You've been hired by Company X to create a web site which will include a data-driven component. Describe how you would go about choosing which server-side scripting language

  Program to print the chain of numbers

Write down the program that prints out the chains for numbers within the range which the user specifies. The length of each chain must be printed at the end of the chain.

  How to find the number of characters in a string

How to find the number of characters in a string

  Finding domain name available to company

Use the Internet resources in order to determine which domain name is available to company. Judge if you would use a .com, .org, or .net for the Web address.

  Give appropriate accessor methods to set and get the data

create an address book application to keep track of the names, addresses, phone numbers, and birthdays of family, friends, and colleagues. You may implement your own linked list library, but it is recommended that you make use of the linked list A..

  Make the get/set methods for each of your variables

select a product that lends itself to an inventory (for example, products at your workplace, office supplies, music CDs, DVD movies, or software).

  Find out the number of times a string is present

How to use Java classes to find out the number of times a string is present in another string.

  Straight-line depreciation method calculations

Describe how to carry out the Straight-line Depreciation Method calculations and understand the meaning of elements within the Straight-line formula.

  Utilizing the rsa protocol encrypt and decrypt messages

You are asked to hand-turn the RSA protocol in order to encrypt and decrypt the messages (utilizing smaller numbers than are used in the practice, so that calculations may be done through the hand).

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd