Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use Kickstarter . accdb Access file to answer the questions. Database Information: Kickstarter.accdb contain two tables: Creator Table contains creator information; ( Fields: creator _

Use Kickstarter.accdb Access file to answer the questions.
Database Information:
Kickstarter.accdb contain two tables:
Creator Table contains creator information; (Fields: creator_id, creatorname, is_superback (i.e., whether the creator is also a super backer in Kickstarter)),
Project Table contains project information; (Fields: project_id, project_name, goal, pledged, state, country, currency, currency_symbol, deadline, created_at, launched_at, staff_pick, backers_count, static_usd_rate, creator_id, category, spotlight)
Submit your SQL statements ONLY in the space provided below.
Test SQL statements before submission.
Partial marks are only provided for 2.7 and 2.8;
For all other questions no partial marks (incorrect SQL statements will be marked as ZERO).
In each question, your query can only display the required data. More or less are marked as wrong.
Q1: Data Type and Entity-Relationship
1 Mark
What is the data type for project_name?
0.25 Marks
Describe how data in tables are related. Justify your answer using an example from the data provided in the tables. (Hint: use connectivity and cardinality to explain your answer)
0.75 Marks (0.50 Describe; 0.25 Example)
Q2: SQL
4 Marks
Write a SQL statement to display project names, state and category of all the projects.
0.30 Marks
In the previous question, state is repeatedly shown. Write a SQL statement to display the distinct states of all the projects.
0.20 Marks
Write a SQL statement to display the name, goal, pledged, and deadline for live projects.
0.5 Marks
Write a SQL statement to display the name, goal, pledged, and category for successful, cancelled, and suspended projects.
0.5 Marks
Write a SQL statement to display the name, goal, pledged, and deadline for the projects with a backers count between 500 and 1000.
0.5 Marks
Write a SQL statement to display the name and id of projects with smart anywhere in the name field.
Marks
Write a SQL statement to display the unique creator names who have live projects.
0.5 Marks
Write a SQL statement to display category and number of projects for each category to show the category popularity based on the number of projects? Rename the frequency column as Popularity in the above SQL.
(Hint: Use COUNT, GROUP BY, and AS. Use the COUNT function to get the project count.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Statistical And Scientific Database Management International Working Conference Ssdbm Rome Italy June 21 23 1988 Proceedings Lncs 339

Authors: Maurizio Rafanelli ,John C. Klensin ,Per Svensson

1st Edition

354050575X, 978-3540505754

More Books

Students also viewed these Databases questions