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 6469957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:03:13+00:00 2026-05-25T06:03:13+00:00

Consider the following 2 tabls…. M.no budget created date 1 250M 2010 2 210M

  • 0

Consider the following 2 tabls….

M.no   budget    created date
1      250M       2010
2      210M       2011
3      200M       1999
4      150M       1994

S.no   Name     
1      Avator
2      Transformers
3      Titanic
4      Dark knight

Now i want a query to find the movie names which has budget greater than titanic.

  • 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-05-25T06:03:14+00:00Added an answer on May 25, 2026 at 6:03 am

    All movie names with their budget:

    SELECT S.name, M.budget
    FROM   S
    JOIN   M ON M.no = S.no
    

    Budget of Titanic:

    SELECT M.budget
    FROM   S
    WHERE  S.Name = 'Titanic'
    JOIN   M ON M.no = S.no
    

    All movie names which has budget greater than titanic:

    SELECT S.name
    FROM   S
    WHERE  M.budget > (
        SELECT M.budget
        FROM   S
        WHERE  S.Name = 'Titanic'
        JOIN   M ON M.no = S.no
    )
    JOIN   M ON M.no = S.no
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Consider the following table views user_id _date cnt ------------------------ 1 2011-02-10 123 1 2011-02-11
Please consider the following table (created using a corresponding entity) request ------- id requestor
Consider the following table: id _date timestamp views change -------------------------------------------------- 1 2011-01-31 1296514800 550
Consider the following reviews table contents: CustomerName ReviewDT Doe,John 2011-06-20 10:13:24 Doe,John 2011-06-20 10:54:45
Consider the following table daterange _date trading_day ------------------------ 2011-08-01 1 2011-07-31 0 2011-07-30 0
Consider the following table: stock _date return2 bullishness ----------------------------------------- 1 2011-03-14 0.10 0.75 2
Consider the following table ( dates ): _date ------------ 2011-03-14 2011-03-15 2011-03-16 2011-03-19 2011-03-20
Consider the following table tweets --------------------------------- tweet_id nyse_date class type --------------------------------- 1 2011-03-12 2
Consider the following table named Persons : Key Name Type Date Pack 1 Pocoyo
Consider the following table: primaryKey id activity template creator created 1 1 3 5

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.