Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8092165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:13:44+00:00 2026-06-05T20:13:44+00:00

This the problem in my book that I am trying to solve..I need to

  • 0

This the problem in my book that I am trying to solve..I need to create this report..

A list of the programs on all channels for a specific day showing the channel number, supplier, package, program name, rating code, and show time. This will be similar to a program guide, only not package specific. This is a date-driven report, therefore it should only display programs for a single date specified.

I tried this so far..

CREATE VIEW PROG_LINEUP AS
SELECT DISTINCT
  PC.PROGTIME AS `SHOWTIME`,
  P.PROGNAME AS `PROGRAM TITLE`,
  C.CHID AS `CHANNEL #`,
  SU.SUPNAME AS `SUPPLIER`,
  R.RATING AS `RATING`
FROM
  PROG_CHAN PC,
  CHANNELS C,
  SUPPLIERS SU,
  PROGRAM P,
  CHANNEL_PACKAGE CP,
  RATING R
WHERE
  PC.SHOWDATE = '18-DEC-10'
  AND P.PROGID = PC.PROGID
  AND CP.CHID = PC.CHID
  AND R.RATINGID = P.RATINGID
  AND C.CHID = PC.CHID
  AND SU.SUPID = P.SUPID
ORDER BY PC.CHID;

But it’s giving this error when the table Prog_chan exists! I checked.. What is wrong?
Please tell me if any table script is required. Please help…

WHERE PC.SHOWDATE = '18-DEC-10' AND
*
ERROR at line 13:
ORA-00903: invalid table name

I cant figure out what is wrong since Prog_chan table exists and has values too in it..

QL> desc prog_chan;
Name                                      Null?    Type
----------------------------------------- -------- ----------------------------
CHANID                                    NOT NULL NUMBER(5)
PROGID                                    NOT NULL NUMBER(5)
SHOWDATE                                  NOT NULL DATE
STARTTIME                                 NOT NULL DATE

@Jeff –

I removed that comma but error is this now…

CHANNEL_PACKAGE CP, * ERROR at line 11: ORA-00942: table or view does not exist
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:13:45+00:00Added an answer on June 5, 2026 at 8:13 pm

    You have an erroneous extra comma before the WHERE clause.

    RATING R,
    WHERE PC.SHOWDATE = '18-DEC-10' AND
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build a program to solve a problem in a text book
I was trying out a code sample from this book that should demonstrate that
I follow a php book trying to make a calendar. Problem is that even
I'm reading through the dragon book and trying to solve an exercise that is
I found this problem in a book. Problem: What is the output of the
I have been working on the following problem from this book . A certain
This problem is same as asked in here . Given a list of coins,
I'm trying a solve an exercise from Exploring Python book. But, I guess I
I have a very simple Excel book that I am trying to spiffy up.
I'm trying to figure out the best way to solve a problem in my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.