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

  Write name of employee on every project located in houston

Write the name(s) of employee(s) who works(work) on every project located in Houston. Write the name(s) of employee(s) who only works(work) on every project located in 'Houston.'

  Access values through queries to databases

However, the only way you can access values is through queries to the databases. In single query, you can specify value k to one of two databases.

  Spreadsheet and database

Explain the differences between the storing data in Access and Excel. Why you would use a spreadsheet over the database?

  Analysis of a simple case study

VSS has an existing software package that controls its high bay systems and wants to rewrite it. The existing system is written in C and uses C-ISAM files to store data.

  Show the rea diagram using microsoft word

Show the REA diagram using Microsoft Word

  Convert table to equivalent collection of tables

determine the functional dependencies that exist in the following table. After determining the functional dependencies, convert this table to an equivalent collection of tables.

  Developing a database

You have been asked to develop a database utilizing only the written problem description given by the client. In reviewing the description.

  Explaining content of document in natural language

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

  Create structurally sound relational database schema

Create a structurally sound relational database schema showing the minimum number of fields, tables, and relationships between the tables.

  Explaining valid host addresses of wan links

Start with LAN on RTA and proceed clockwise. Determine the number that how many total valid host addresses will be wasted on WAN links?

  Create library database schema structure

The library System stores 3 type of informations: Users ( USID, USNAME, USMob, USEmail, USDept,USStartDate, NofBooks). Create the library database schema Structure.

  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.

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