php - 两个表数据怎么插到一个模板中,并按时间排序?
伊谢尔伦
伊谢尔伦 2017-04-17 16:49:03
0
1
495

有两个表 一个投资表 一个借款表。要做交易记录,怎么把它们整合到一起? 用不用再建个表?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all (1)
大家讲道理

1. In terms of program, there is no need to create another table. If the design of the two tables is the same, the data can be taken out by union all at once
2. In terms of design, I think it is better to add another transaction record table, which has better scalability. Maybe you need to add other types of transactions later, you can put them in this table

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!