Question

how to make SQL CREATE TABLE in Microsoft Access? how to make SQL INSERT in Microsoft...

how to make SQL CREATE TABLE in Microsoft Access?

how to make SQL INSERT in Microsoft access?

please answer by giving step by step

0 0
Add a comment Improve this question Transcribed image text
Answer #1


1)
CREATE TABLE table_name (
   column_1 data_type,
   column_2 data_type,
   .................
   .................
   column_n data_type,

   PRIMARY KEY (column_k)
)

Example:
   CREATE TABLE my_table (col1 INTEGER NOT NULL,
   col2 CHAR(25),
   col3 VARCHAR(25) NOT NULL,
   col4 DATETIME,
   PRIMARY KEY (col1))


2)
INSERT INTO table_name(
   col1,
   col2,
   col3,
   ....
   ....
   coln
   )
VALUES (
   col1_value,
   col2_value,
   col3_value,
   .....,
   .......,
   coln_value
)

Ex:
   INSERT INTO my_table (teacher, subject, period) VALUES ('test', 'test', 'test')

Add a comment
Know the answer?
Add Answer to:
how to make SQL CREATE TABLE in Microsoft Access? how to make SQL INSERT in Microsoft...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • SQL Create an access database named student11. Create a table named student12 and insert the following...

    SQL Create an access database named student11. Create a table named student12 and insert the following records in it. ID          StudentName               Grade 1            John                                 90 2            Jim                                    70 3            Larry                               85 4            Sally                                 20 5            Sam                                   60 6            Sandra                            100 7            Runa                                 55 8            Simran                            35 9            Seema                              65 10         Ramu                               75 Create a query to find students whose grade are more than or equal to 80.

  • Complete the following using Microsoft® SQL Server® 2016: Write SQL scripts in Microsoft® SQL Server® for...

    Complete the following using Microsoft® SQL Server® 2016: Write SQL scripts in Microsoft® SQL Server® for OLTP that include: A Data Definition Language (DDL) script creating the four tables with appropriate data types, primary and foreign keys Data Manipulation Language (DML) scripts that insert a minimum of five records into each table Select scripts showing the full contents of each table Write and run a test script for Step Two. Save a screenshot of the results. Create a 6-page Technical...

  • create table sql query and insert data sql query for the below - VehicleType(make, model, doors,...

    create table sql query and insert data sql query for the below - VehicleType(make, model, doors, body,trim) Vehicle(regNum, fleetNum, colour, make,model) ScheduledService(date,kilometrage,regNum,depotId) ServiceHistory(date,cost,description,regNum,depotId) Records(make,model,tariffId,rentalPrice) DailyTariff(tariffId, conditions) Invoice(invoiceId,qualityCheck,datePaid,finalCost,date) Insurance(insuranceId, policyType, cost) Insures(insuranceId,date,policyNumber) HiredVehicle(date, cardType, cardNo, kilometrage, days,tariffId,clientId,depotId,regNum) Depot(depotId, street,postcode,phone,fax) Booking(startDate,hiredays,colour,depotId,make,model,clientId) Client(clientId,street,postcode,phone) PersonalClient(clientId, fName, lName, title, driversNum) CompanyClient(clientID, cname) underlined are primary keys and italicised are foreign keys.

  • Oracle SQL Step 9. Create the table below and insert data LFM MoreSkill table SkillcodeSkillname Primary...

    Oracle SQL Step 9. Create the table below and insert data LFM MoreSkill table SkillcodeSkillname Primary KeyUnique BD Build Databases Design Databases PL/SQL Programming Machine Learning ML Step 10. Using set operations, list what skills (10a) appear in the MoreSkill that were not in Skill (10b) appear in the Skill that are not in MoreSkill (10c) appear in both Skill and MoreSkill (10d) appear in either table so you have a complete list of all skills

  • use SQL to answer the question. Create two tables and insert atleast 7 or 8 values(whatever...

    use SQL to answer the question. Create two tables and insert atleast 7 or 8 values(whatever you want) into each of these two tables 1) Person 2) Favorite food I need every step-codes such as : SQL> connect admin/admin as sysdba; SQL> create table products_tb1 2 (prod_id integer primary key, 3 prod_desc char(30), 4 cost real); SQL> insert into products_tb1 values(11235, 'WITCH COSTUME', 29.99); SQL> insert into products_tb1 values(222, 'PLASTIC PUMKIN 18 INCH', 7.75); SQL> insert into products_tb1 values(13, 'FALSE...

  • microsoft access i am asked to create a relationship but im not sure how to add...

    microsoft access i am asked to create a relationship but im not sure how to add the second one Create a relationship between the EMPLOYEES and EMPPURCHASES. Create a second relationship between the PRODUCTS table and the EMPPURCHASES table.

  • Programming Microsoft Visual Basic 2012/2015 - Create an SQL or Access database with all your friends’...

    Programming Microsoft Visual Basic 2012/2015 - Create an SQL or Access database with all your friends’ information and write a program to load the names in the combo box and also search the database and find your friend’s record off the database by name and retrieve all the information from the database to the form including your friend’s picture. You should be able to add new friends, update an existing friends’ information and delete a friend’s record. See the sample...

  • For Microsoft Access Define the four types of Action Queries: Make-table, Update, Delete, Append What is...

    For Microsoft Access Define the four types of Action Queries: Make-table, Update, Delete, Append What is an index? What field is automatically indexed? Advantages and disadvantages? What is a macro? An action? An argument? What is a command button? What are events? Event properties? Examples of event properties? What is a submacro? How is it represented in code? Why are the InputBox function and GoToControl action useful for the FindRecord action? What is the ExportWithFormatting action typically used for? What...

  • SQL – Microsoft Access -------------------------------------------------------------------------...

    SQL – Microsoft Access -------------------------------------------------------------------------- Display the percent of charter trips that have co-pilots and use COUNT ------------------------------------------------------------------------------ CHAR PLOT CHAR COPILOT AC NUMBER CHAR DESTINATION CHAR DISTANCE CHAR HOURS FLOWN CHAR HOURS AT CHAR FUEL GALLONS CHAR OL QTS CUS COE CHARTRIP CHAR DATE - 109 4278Y 49 35 105 2778V 4.5 CHAR PLOT CHAR COPILOT AC NUMBER CHAR DESTINATION CHAR DISTANCE CHAR HOURS FLOWN CHAR HOURS AT CHAR FUEL GALLONS CHAR OL QTS CUS COE CHARTRIP CHAR DATE...

  • Complete the following steps in Microsoft® SQL Server® 2016 Create a table. This table will tell...

    Complete the following steps in Microsoft® SQL Server® 2016 Create a table. This table will tell you what price the inventory item started at, what it currently is, and what it ends at. The primary key must be a combination of the inventory number and the current price date. Elements to include in your table are as follows: Inventory Number Integer Inventory Description Text Date Price Previous Date Date Price Current Date Date Price End Date Inventory Price Decimal

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT