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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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