- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
下面是我的 SQL 查询
select c.course_id,c.course_title,c.course_credits,c.course_status from
course c,(select course_id from completed_course
where student_id='1229CSE00241') as a
where c.course_id!=a.course_id
但它也显示了 a 类(class)的所有行,但我只想要 c 的类(class)
不在类(class)中。
最佳答案
select
c.course_id,
c.course_title,
c.course_credits,
c.course_status
from course c
where
c.course_id NOT IN (select course_id from completed_course where student_id='1229CSE00241');
关于php - SQL table1 row_id 不显示 table2 row_id,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30431914/
下面是我的 SQL 查询 select c.course_id,c.course_title,c.course_credits,c.course_status from course c
我正在尝试从我的数据库中删除一条记录, 简短摘要: 我的数据库填充了一个 ListView 用户可以点击 ListView 并查看有关新 Activity 的更多详细信息 我希望能够删除从这项新 Ac
mysql - 如何在单个表中删除具有重复“row_id”但具有不同“recd_date”字段值的行,只留下具有最新“recd_date”的行? 试过下面的脚本... DELETE FROM ta
我在 SQLServer 中有表。 我在 c# 中有实体 ID 列表。 (例如:50、70、120 等)。 对于每个实体,我只需要获取具有最大日期的行,并在其中获取 row_id 的最大值。 例如:
如何在不使用 ROW_ID 的情况下创建 UPDATE 函数。出于某种原因,在 SQL 表中包含 ROW_ID 会给我多个错误。没有它,它工作得很好。我所需要的只是如何使用另一个约束更新中的 wher
我有一个 mysql 表,第一列名为“row_id”,并包含一个数字,显示在表中创建的行的 id。 下面是一个非常简单的示例,变得更容易: +--------+---------+------+---
我在 ScrollView 中使用自定义 GridView。我知道这不是正确的方法。我没有任何其他方法来完成我的应用程序布局。 我试图在 GridView 中获取数据库的 item id == row
我正在使用 Spring、MySQL 和 Hibernate 返回针对列“row_id”调整的超出范围的值,并且我正在尝试将一行插入到我的数据库中,但我收到以下错误: Hibernate: inser
我理解这个标题听起来很困惑,但目标很明确: 我正在构建一个需要两个表的应用程序:航迹和航路点。 用户通过文本字段输入轨道名称,表格在 track_id 下生成一个 ID。 在航点表中有一列叫做 tra
根据 BigQuery 文档,您可以通过提供 insertId ( https://cloud.google.com/bigquery/streaming-data-into-bigquery#dat
嗨,我有两个表“实验”和“示例”。我想创建一个触发器,这样每当我在 Sample 表中插入一行时,它都应该拉出 MySQL 在“Experiment”表中生成的最新“Experiment_id”,并拉
将 MySQL 与 InnoDB 存储结合使用时,如果表没有显式主键 (PK) 且没有唯一索引,则会导致将隐藏的 ROW_ID 列添加到这些表中,从而引入隐式 PK ( http://dev.mysq
我是一名优秀的程序员,十分优秀!