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

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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