我的目标是将下面的查询转换为使用内部连接。 DELETE ##TABLE1
FROM ##TABLE1 A, ##TABLE2 B
WHERE A.VND_ACCT_NUM in (select distinct VND_ACCT_NUM from ##TABLE2)
我想是这样的,但它看起来不正确: DELETE ##TABLE1
FROM ##TABLE1 A
INNER
这是我delete.php页: <?php
//including the database connection file
include("config.php");
//getting id of the data from url
$id = $_GET['id'];
//deleting the row from table
$result = mysqli_query(
我有一个名为tablename,IDNO为主Kry的表。如果用户在表中指定了idno,我想要删除该行。 这里是我的代码: data3=raw_input("Enter the idno to del :",)
mydata=cursor.execute("DELETE FROM tablename where idno=%d", data3)
db.commit()
我得到这个错误: Tr