Question

I need SQL query OrderlD, OrderDate, CustomerlD 1001 21/Oct/10,1 1002, 21/Oct/10,8 1003, 22/Oct/10, 15 1004, 22/Oct/10, 5 1

CustomerT CustomerID, CustomerName, CustomerAddress, CustomerCity, CustomerState, CustomerPostalCode 1, Contemporary Casuals

  1. Which orders have been placed since October 20, 2010?
I need SQL query OrderlD, OrderDate, CustomerlD 1001 21/Oct/10,1 1002, 21/Oct/10,8 1003, '22/Oct/10, 15 1004, '22/Oct/10, 5 1005, 24/Oct/10, 3 1006, '24/Oct/10, 2 1007, '27/Oct/10,11 1008, 30/Oct/10, 12 1009, '05/Nov/10,4 1010, '0S/Nov/10 1 End Table, Cherry,175, 1 2 Coffee Table, Natural Ash: 200,2 3 Computer Desk, Natural Ash 3752 Natural Ash. 375 Entertainment Center Natural Maple,650, 3 Desk, 'white 6, '8-Drawer Ash, 750,2 7. Dining Tabla Natural Ash,800, 2 'Computer Desk, walnut, 250,3 OrderLine T OrderlD, ProductiD, OrderedQuantity 001, 1,2 1001, 2, 2 1001, 4,1 002, 3,5 003,3,3 1004, 6, 2 1004, 8, 2 1005, 4, 4 1006, 7, 2 007, 1, 3 1007,2,2 008, 3,3 1008, 8, 3
CustomerT CustomerID, CustomerName, CustomerAddress, CustomerCity, CustomerState, CustomerPostalCode 1, 'Contemporary Casuals, '1355 S Hines Blvd, 'Gainesville', 'FL, '32601-2871 2, Value Furniture, 15145 S.W. 17th St., Plano, TX, 75094-7743 3, 'Home Furnishings, '1900 Allard Ave., Albany, 'NY, '12209-1125 4, 'Eastern Furniture, '1925 Beltline Rd., Carteret', 'NJ, '07008-3188' 5, Impressions', '5585 Westcott Ct., Sacramento, CA' 94206-4056 6, 'Furniture Gallery. '325 Flatiron Dr. 'Boulder, CO. '80514-4432' 7, "Period Furniture, '394 Rainbow Dr., 'Seattle, WA', 97954-5589 8, 'California Classics, '816 Peach Rd., Santa Clara, 'CA', '96915-7754 9, 'M and H Casual Furniture, '3709 First Street, 'Clearwater, 'FL, '34620-2314 10, 'Seminole Interiors, '2400 Rocky Point Dr., 'Seminole, 'FL. '34646-4423. 11, American Euro Lifestyles, '2424 Missouri Ave N., "Prospect Park, 'NJ', '07508-5621 12, 'Battle Creek Furniture, '345 Capitol Ave. SW", Battle Creek, 'MI;, 49015-3401 13, 'Heritage Furnishings, '66789 College Ave., 'Carlisle', 'PA, '17013-8834 14, 'Kaneohe Homes, '112 Kiowai St., 'Kaneohe, 'Hl, 96744-2537 15, 'Mountain Scenes, '4132 Main Street, 'Ogden, 'UT, '84403-4432
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Select Order_ID from Order_T where OrderDate >= '20/10/10';

or

Select Order_ID from Order_T where day(OrderDate) >= 20 and month(OrderDate) >= 10 and year(OrderDate) >= 2010;

Do ask if any doubt. Please upvote.

Add a comment
Know the answer?
Add Answer to:
I need SQL query OrderlD, OrderDate, CustomerlD 1001 21/Oct/10,1 1002, 21/Oct/10,8 1003, '22/Oct/...
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
  • Guidelines: The final project (Project 3) is an individual project. It requires writing an individual report...

    Guidelines: The final project (Project 3) is an individual project. It requires writing an individual report and a presentation. Your manager at the VPF wants your help to answer the following questions and form your reply as a complete report. The report should be between 5 and 7 single spaced pages in addition to the cover page, table of contents, statement of Academic Honesty, reference page, and any other diagrams or appendices that will enhance your report. Note: Use the...

  • -- drop tables DROP TABLE REQUEST CASCADE CONSTRAINTS; DROP TABLE FULLORDER CASCADE CONSTRAINTS; DROP TABLE PRODUCT...

    -- drop tables DROP TABLE REQUEST CASCADE CONSTRAINTS; DROP TABLE FULLORDER CASCADE CONSTRAINTS; DROP TABLE PRODUCT CASCADE CONSTRAINTS; DROP TABLE CUSTOMER CASCADE CONSTRAINTS; -- create and link tables CREATE TABLE CUSTOMER (    CustomerID   INTEGER,    Name       VARCHAR2(40),    City       VARCHAR2(20),    State       CHAR(2),    Zip       CHAR(5),    CONSTRAINT PK_CUSTOMER        PRIMARY KEY (CustomerID) ); CREATE TABLE PRODUCT (    ProductID   INTEGER,    Description   VARCHAR2(30),    Material   VARCHAR2(20),    Price       NUMBER(5,2),    CONSTRAINT PK_PRODUCT...

  • -- drop tables DROP TABLE REQUEST CASCADE CONSTRAINTS; DROP TABLE FULLORDER CASCADE CONSTRAINTS; DROP TABLE PRODUCT...

    -- drop tables DROP TABLE REQUEST CASCADE CONSTRAINTS; DROP TABLE FULLORDER CASCADE CONSTRAINTS; DROP TABLE PRODUCT CASCADE CONSTRAINTS; DROP TABLE CUSTOMER CASCADE CONSTRAINTS; -- create and link tables CREATE TABLE CUSTOMER (    CustomerID   INTEGER,    Name       VARCHAR2(40),    City       VARCHAR2(20),    State       CHAR(2),    Zip       CHAR(5),    CONSTRAINT PK_CUSTOMER        PRIMARY KEY (CustomerID) ); CREATE TABLE PRODUCT (    ProductID   INTEGER,    Description   VARCHAR2(30),    Material   VARCHAR2(20),    Price       NUMBER(5,2),    CONSTRAINT PK_PRODUCT...

  • Using the ch08_saleco database write a T-SQL query to display the customer code, invoice number invoice...

    Using the ch08_saleco database write a T-SQL query to display the customer code, invoice number invoice date, and invoice subtotal from invoice conditioned on the invoice subtotal is greater than $100 and from only customer codes 10011 and 10012. (hint: in) /* Database Systems, 8th Ed., Rob/Coronel */ /* Type of SQL : SQL Server */ CREATE TABLE CUSTOMER ( CUS_CODE int, CUS_LNAME varchar(15), CUS_FNAME varchar(15), CUS_INITIAL varchar(1), CUS_AREACODE varchar(3), CUS_PHONE varchar(8), CUS_BALANCE float(8) ); INSERT INTO CUSTOMER VALUES('10010','Ramas','Alfred','A','615','844-2573','0'); INSERT...

  • On October 1, 2016. Satillo Richey opened an advertising agency. DATE TRANSACTIONS Oct. 1 Satillo Richey...

    On October 1, 2016. Satillo Richey opened an advertising agency. DATE TRANSACTIONS Oct. 1 Satillo Richey invested $52,000 cash in the business 2 Paid October office rent of $2,600; issued Check 1001. 5 Purchased desks and other office furniture for $14,200 from Office Furniture Mart, Inc., received Invoice 6704 payable in 60 days. 6 Issued Check 1002 for $2.800 to purchase art equipment 7 Purchased supplies for $1,150; paid with Check 1003. 10 Issued Check 1004 for $520 for office...

  • On October 1, 2019, Helen Kennedy opened an advertising agency. DATE TRANSACTIONS Oct. 1 Helen Kennedy...

    On October 1, 2019, Helen Kennedy opened an advertising agency. DATE TRANSACTIONS Oct. 1 Helen Kennedy invested $62,000 cash in the business 2 Paid 0ctober office rent of $3,100; issued Check 1001 5 Purchased desks and other office furniture for $13, 800 from Office Furniture Mart, Inc.; received Invoice 6704 payable in 60 days 6 Issued Check 1002 for $3,300 to purchase art equipment. 7 Purchased supplies for $1, 650; paid with Ccheck 100:3 10 Issued Check 1004 for $480...

  • Oracle 12c SQL Chapter 12 Determine which orders were shipped to the same state as order...

    Oracle 12c SQL Chapter 12 Determine which orders were shipped to the same state as order 1014. CREATE TABLE Orders (Order# NUMBER(4), Customer# NUMBER(4), OrderDate DATE NOT NULL, ShipDate DATE, ShipStreet VARCHAR2(18), ShipCity VARCHAR2(15), ShipState VARCHAR2(2), ShipZip VARCHAR2(5), ShipCost NUMBER(4,2), CONSTRAINT orders_order#_pk PRIMARY KEY(order#), CONSTRAINT orders_customer#_fk FOREIGN KEY (customer#) REFERENCES customers(customer#)); INSERT INTO ORDERS VALUES (1000,1005,TO_DATE('31-MAR-09','DD-MON-YY'),TO_DATE('02-APR-09','DD-MON-YY'),'1201 ORANGE AVE', 'SEATTLE', 'WA', '98114' , 2.00); INSERT INTO ORDERS VALUES (1001,1010,TO_DATE('31-MAR-09','DD-MON-YY'),TO_DATE('01-APR-09','DD-MON-YY'), '114 EAST SAVANNAH', 'ATLANTA', 'GA', '30314', 3.00); INSERT INTO ORDERS VALUES (1002,1011,TO_DATE('31-MAR-09','DD-MON-YY'),TO_DATE('01-APR-09','DD-MON-YY'),'58...

  • Oracle only database: DROP TABLE ORDERITEMS; DROP TABLE Orders; DROP TABLE BOOKAUTHOR; DRO...

    oracle only database: DROP TABLE ORDERITEMS; DROP TABLE Orders; DROP TABLE BOOKAUTHOR; DROP TABLE BOOKS; DROP TABLE PROMOTION; DROP TABLE AUTHOR; DROP TABLE CUSTOMERS; DROP TABLE PUBLISHER; CREATE TABLE Customers ( Customer# NUMBER(4), LastName VARCHAR2(10) NOT NULL, FirstName VARCHAR2(10) NOT NULL, Email VARCHAR(40), Address VARCHAR2(20), City VARCHAR2(12), State VARCHAR2(2), Zip VARCHAR2(5), Referred NUMBER(4), Region CHAR(2), CONSTRAINT customers_customer#_pk PRIMARY KEY(customer#) ); INSERT INTO CUSTOMERS VALUES (1001, 'MORALES', 'BONITA', '[email protected]', 'P.O. BOX 651', 'EASTPOINT', 'FL', '32328', NULL, 'SE'); INSERT INTO CUSTOMERS VALUES...

  • Connect to mySQL DBMS, open a SQL script file, navigate to CityJail.sql file and execute it...

    Connect to mySQL DBMS, open a SQL script file, navigate to CityJail.sql file and execute it to create tables and populate with the supplied data. If there are any errors in the script fix them. It is your job to find the errors and correct them. This is important. You will need correct data for future exercises in this module. Then answer all questions. Write the answer below each question then take screen shot of the result. This script builds...

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