Create a database for a home-budgeting application

Assignment Help Database Management System
Reference no: EM1360237

There are two parts to this assignment. The first part is to create a database and some tables which will be appropriate for a home-budgeting application. That portion of the assignment should be completed from the MySQL console command line. The second part of the assignment is to write a PHP script which will display information about the database tables created in the first part and save that information in a file. A complete submission will include both the script - solution07.php - and the text file generated by the script - solution07.txt.

* Use the command-line interface to create a new user named "script" for your database. Grant that user all permissions on everything controlled by the DBMS.
* Create a database named "homebudget".
* Within that database, create two tables:
o The first table should be named "estimates". Give it three fields:
+ VARCHAR of length 10 named "category"
+ VARCHAR of length 30 named "description"
+ INT named "budget"
o The second table should be named "expenses". Give it three fields:
+ VARCHAR of length 10 named "category"
+ DATE named "expenseDate"
+ INT named "expenditure"
* Create a script file named solution07.php. Within that script, connect to your DBMS using the "script" identity. Select the "homebudget" database, then obtain a listing of the tables.

Reference no: EM1360237

Questions Cloud

Accounting principles : Juan's Taco Corporation has restauraunts in five college towns. Juan wants to expand into Austin and College Station and needs a bank loan to do this. Mr. Bryan, the banker,.
Counterproductive work behavior - tools to mitigate : From the e-Activity, determine the five guidelines listed and provide an example of an appropriate tool that might help achieve each guideline.
Find the maximum altitude reached by the rocket : Find the maximum altitude reached by the rocket.Find its total time of flight.
Difference in income between men and women : Determine whether there is a significant difference in income between men and women. what statistical test would you use?
Create a database for a home-budgeting application : The first part is to create a database and some tables which will be appropriate for a home-budgeting application. That portion of the assignment should be completed from the MySQL console command line.
Compute cost of preferred stock : Hettenhouse Corporation's perpetual preferred stock sells for $102.50 per share, and it pays a $9.50 annual dividend. If the corporation were to sell a new preferred issue,
What is the magnitude of the charge on each sphere : what is the magnitude of the charge on each sphere. A car crashes into a wall at 45 m/s and is brought to rest in 0.1 s. compute the average force exerted on a 80 kg test dummy by the seat belt.
Learning technique for african american families : Do you think learning by modeling after their parents, grandparents, etc. is a common type of learning technique for African American families?
Explain what this all inclusive web site on all labor laws : Explain what this all inclusive web site on all labor laws and procedures contains and then select one subject or area of information that you learned from this great web site

Reviews

Write a Review

Database Management System Questions & Answers

  Translation from erd to the relational model

Complete (i.e., reverse engineering) ER diagram below such that 4 relation schemas above are exactly result of a translation from the ERD to the relational model.

  Create link list in adt to maintain employee information

Create a link list in ADT c to maintain employee information like name,empid,basic salary and address.1.add employee info to the list if the empid is valid.

  Explaining content of document in natural language

Explain the content of this document in natural language;Design the graph representation of document;

  Explaining weak relationship and weak entity

What is meant by a weak relationship? Provide an example. What is meant by weak entity? What do you understand by relationship degree?

  Explaining uses for views

Views are integral part of virtual private databases, yet views are utilized for many other reasons. Find out many other uses for views.

  Determine functional dependencies of table

Using your knowledge of Premiere Products, determine the functional dependencies that exist in the following table.

  Database modeling and design

Database Modeling and Design: A complete table diagram. Transform model to tables, include all attributes and keys.

  Design a nested menus interface for a check-in

Design a nested menus interface for a check-in and check-out hotel reservation system that can be used internationally.

  What type of databases and database servers myspace use

What kind of databases and database servers does MySpace use? Why is database technology so important for a business such as MySpace?

  Design tables in 3nf various codes for at least three fields

Create tables in 3NF. As you create the database, include different codes for at least three of the fields. Use sample data to populate fields for at least three records in each table.

  Write a recursive sql query

MCIS 630 Database Systems: -  Write a recursive SQL query that outputs the names of all subparts of the part with part-id “P- 100”.

  Explain role of a database administrator

Explain the role of a database administrator,the tasks performed by this role and why this role is important in Database Management.

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