I don't understand. I have questions about database data query.

Source: Internet
Author: User
I don't understand, but the database data query problem. I don't understand, but the database data query problem. The database design is as follows.
I don't understand, but the database data query problem.
The database design is as follows:
L1 l2 l3 l4 l5 l6 dqs jqs zqs firstarea secondarea thirdarea ac
"1", "1", "2", "3", "4", "5", "6", "21", "0", "3 ", "4", "6", "0", "0", "0"
"2", "1", "2", "3", "4", "5", "7", "22", "0", "4 ", "5", "6", "0", "0", "1"
"3", "1", "2", "3", "4", "6", "7", "23", "0", "3 ", "4", "6", "0", "0", "1"
"4", "1", "2", "3", "5", "6", "7", "24", "0", "4 ", "5", "6", "0", "0", "1"
"5", "1", "2", "4", "5", "6", "7", "25", "0", "3 ", "4", "6", "0", "0", "1"
"6", "1", "3", "4", "5", "6", "7", "26", "0", "4 ", "4", "6", "0", "0", "1"
"7", "2", "3", "4", "5", "6", "7", "27", "0", "3 ", "4", "6", "0", "0", "0"
"8", "1", "2", "3", "4", "5", "8", "23", "0", "3 ", "4", "6", "0", "0", "2"
"9", "1", "2", "3", "4", "6", "8", "24", "0", "2 ", "3", "6", "0", "0", "2"
"10", "1", "2", "3", "5", "6", "8", "25", "0", "3 ", "4", "6", "0", "0", "2"
"11", "1", "2", "4", "5", "6", "8", "26", "0", "2 ", "3", "6", "0", "0", "2"
"12", "1", "3", "4", "5", "6", "8", "27", "0", "3 ", "3", "6", "0", "0", "1"

I want to select numbers l1, l2, l3, l4, l5, and l6 based on the existing conditions and design a large table containing all the data information...
For example, based on the dqs, jqs, zqs, firstarea, secondarea, thirdarea, and other information submitted by the customer using the form, select the numbers from l1 to l6. How can I design a query statement, input information of a form, and transfer it to a query statement for query?

PHP code
  I think the following conditions must be met at the same time:
  Query ($ SQL); // $ row1 = mysql_fetch_array ($ dbb, MYSQLI_BOTH, output to TXT is also OK ";?>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.