Create a sql query that lists the id and policy id

Assignment Help Computer Engineering
Reference no: EM132111177

1. Log in to your Oracle ApEx account and navigate to the SQL Command window. Use the fl_insurance table from my CSI411W_SQL schema,

So your SELECT statement will look like this:

select * from CIS411w_SQL.fl_insurance

2. Using the fl_insurance table, create a SQL query report that shows the ID, Policy ID, county, construction and line where the line is ‘Commercial' and the type of construction is either 'Reinforced Concrete' or 'Reinforced Masonry'. ORDER BY county.

Use a column alias to change the column name for count as that the top of the column displays "Florida County".

Show a screenshot of your SQL query along with a screenshot of the first seven rows of your result set.

3. Keep the prvious SQL query but add the latitude and longitudes. To further refine this query, the insurance company now wants to limit the results returned to just properties that are south of Punta Gorda because a hurricane is expected to make land fall in that area in the next twenty-four hours.

to find the latitudes and longitudes of properties south of Punta Gorda, Florida. Note: longitudes for Florida are stored as negative values in the fl_insurance table. Use the between ... and operator to look for a range of latitudes and longitudes.

Don't forget about Key West.

4. Create a SQL query that lists the ID, Policy ID, county, construction and line for residential properties between Clearwater in the south and (Johnny) Tavares in the north of Florida. These are people deemed lower risk. Use the same technique for latitudes and longitudes given above.

Show a screenshot of your SQL query along with a screenshot of the first seven rows of your result set.

Reference no: EM132111177

Questions Cloud

Provide a database schema in tabular format : Provide a database schema in tabular format and provide the necessary SQL statements to build it for three tuples and three attributes each.
Provide an overview of a defensive coding practice : Provide an overview of a Defensive Coding Practice and/or Control for choosing a language with security in mind.
Write the matlab code lines that add 2 to the value : Provide the matlab syntax that will ask a user at the command window to enter a name and assign the name to a variable called 'name'.
Write a sql query that shows the empno : Write a SQL query that shows the empno, ename, job and total salary for all employees from the emp table and uses a sub-query to show employees.
Create a sql query that lists the id and policy id : Create a SQL query that lists the ID, Policy ID, county, construction and line for residential properties between Clearwater in the south.
Write a sql query that will give the employee number : Write a SQL query that will give the employee number, employee name and hired date from the EMP table.
Create a sql query that will use the count function : Create a SQL query that will use the count function to return the number of employees in each department in the emp table.
A program to simulate signals of a pedestrian traffic light : Specifically, the car lantern will light up for 10 seconds, then turn off and turn on the pedestrian traffic light for 7 seconds.
Create a sql query in the sql command window showing : Create a SQL query in the SQL command window showing the empno, ename, job, sal, hiredate from the emp table.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Create a sub procedure and a function procedure

Write the syntax for a computer program to perform advanced loops.Create a sub procedure and a function procedure.Use a two-dimensional array to store, access, and search for elements within a computer program. Utilize structures and sequential-acces..

  Write program that implement merge sort for sequential data

Write a program that implements merge sort for sequential data files. Test your program on a file with several thousand data values.

  Give a complete pseudo-code description of given algorithm

Give a complete pseudo-code description of the recursive merge-sort algorithm that takes an array as its input and output.

  Develop a table that relates number of people

Develop a table that relates number of people to project duration for a software project requiring 50,000 LOC and 15 person-years of effort (the productivity parameter is 5000 and B 0.37).

  List the four math functions of plcs

Data manipulation instructions can be combined with arithmetic (math) ­instructions.

  Create a comic strip by putting three to four pictures

Create a comic strip by putting three to four pictures next to each other horizontally and adding text.

  Discuss what are the key performance indicators

What are the Key Performance Indicators (KPIs) related to QoS

  Compute the temperatures of the two glasses

Write a computer program to optimize the spacing between the two glasses of a double-pane window. Assume the spacing is filled with dry air at atmospheric.

  What is a mission statement and what is a vision statement

What is a mission statement What is a vision statement What is a values statement Why are they important

  Describe the type and basic uses of the system how the

write a 700 to 1050 word paper identifying and describing how specific system used in an organization has transformed

  Write program in java to count zeros in factorial of number

Write a program in java to count the zeros in a factorial of a given number?

  What tool is used to manage server roles

What tool is used to manage server roles from the graphical user interface of Windows servers and define an AD group in your own words.

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