The problem of obtaining values from multiple tables with SQL statements in thinkphp

Table 1 fields are as follows

clipboard.png

2

clipboard.png

3

clipboard.png

1event_description_description_id2id
1cel_order_item_order_item_id3id

123idnull

id

clipboard.png

clipboard.png

ask the boss for advice

Mar.09,2021
  • Realize the if judgment of where of mysql

    how to realize the if judgment of mysql. There is now a table with two key fields SELECT * FROM house WHERE price= 8500 OR shoufu= 30 I think, when the $price passed in by php is empty, the sql search statement is SELECT * FROM house WHERE s...

    Mar.07,2021
Menu