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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:47:14+00:00 2026-06-05T21:47:14+00:00

I have a project to develop for property dealer he has entry in db

  • 0

I have a project to develop for property dealer
he has entry in db of all plots in an area
plots are of different sizes and assigned numbers like 1,2,3,4…
plots status are (sold/not sold)
he want to query to list any number of consecutive plots where status=’no sold’ and sum(plots_size) between some value
suppose a customer needs many consecutive plots of total size = 800 sq feet.
I have tried like this

tbl_polts(plotID, size,…, status)
tbl_plot_neighours(plotID, neighour_PoltID)

please help in database structure and query.

  • 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-05T21:47:16+00:00Added an answer on June 5, 2026 at 9:47 pm
    SELECT a.plotID, a.size, a...., a.status, b.neighbour_PlotID, SUM(a.plots_area)
    from tbl_plots as a
    inner join tbl_plot_neighbours  as b
    ON a.plotID = b.plotID
    WHERE a.status = 'no sold' and SUM(plots_area) between '1' and '4';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All, We have a PHP project in SVN. We develop code and do SVN
I have been assigned a project to develop a set of classes that act
So I have been assigned a project to develop a website, for a company.
I have a project where I am asked to develop an application to simulate
I have a scenario where customers are asking to develop a new project on
I have a project that is supposed to run on different (at least 2)
I have a project to develop a client server application in java . This
I have a simple PoC project in Hudson. The PoC has unit tests written
I'm pretty new in OOP but have to develop a big project... Just for
I have a school project to develop a static analyzer in C for C.

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.