doutuan4361 2017-04-06 15:38
浏览 31

mysql更新表并选择另一个表

I have been considering creating a stored procedure to update a single row on table A and then select another row from table B. Table B's results would be then used. However, i am not very familiar with stored procedures and i would rather use native sql to complete the task. I am curious if it is possible to accomplish an update and then a select with native sql and how would i do so? as well as is it possible to create a temporary(on the fly) sql procedure using php instead of actually storing the procedure in the database?

thanks

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 关于用pyqt6的项目开发该怎么把前段后端和业务层分离
    • ¥30 线性代数的问题,我真的忘了线代的知识了
    • ¥15 有谁能够把华为matebook e 高通骁龙850刷成安卓系统,或者安装安卓系统
    • ¥188 需要修改一个工具,懂得汇编的人来。
    • ¥15 livecharts wpf piechart 属性
    • ¥20 数学建模,尽量用matlab回答,论文格式
    • ¥15 昨天挂载了一下u盘,然后拔了
    • ¥30 win from 窗口最大最小化,控件放大缩小,闪烁问题
    • ¥20 易康econgnition精度验证
    • ¥15 msix packaging tool打包问题