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
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2affa-2ba6e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2affa-2ba6e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?