Hi guys,
can someone explian why the csi_id information is missing when I am runing
select * from csi where csi_id in (20,23,24);
see bellow:
mysql> desc csi;
+--------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------+--------------+------+-----+---------+----------------+
| CSI_ID | bigint(20) | | PRI | NULL | auto_increment |
| NAME | varchar(100) | | UNI | | |
+--------+--------------+------+-----+---------+----------------+
2 rows in set (0.00 sec)
mysql> select * from csi where csi_id in (20,23,24);
+--------+--------------------------------------+
| CSI_ID | NAME |
+--------+--------------------------------------+
|
| 23 | 3100-Concrete Forms and Accessories
| 3200-Concrete Reinforcement
+--------+--------------------------------------+
3 rows in set (0.00 sec)
mysql> select csi_id from csi where csi_id in (20,23,24);
+--------+
| csi_id |
+--------+
| 20 |
| 23 |
| 24 |
+--------+
3 rows in set (0.00 sec)
mysql>
Thanks Lior
can someone explian why the csi_id information is missing when I am runing
select * from csi where csi_id in (20,23,24);
see bellow:
mysql> desc csi;
+--------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------+--------------+------+-----+---------+----------------+
| CSI_ID | bigint(20) | | PRI | NULL | auto_increment |
| NAME | varchar(100) | | UNI | | |
+--------+--------------+------+-----+---------+----------------+
2 rows in set (0.00 sec)
mysql> select * from csi where csi_id in (20,23,24);
+--------+--------------------------------------+
| CSI_ID | NAME |
+--------+--------------------------------------+
|
| 23 | 3100-Concrete Forms and Accessories
| 3200-Concrete Reinforcement
+--------+--------------------------------------+
3 rows in set (0.00 sec)
mysql> select csi_id from csi where csi_id in (20,23,24);
+--------+
| csi_id |
+--------+
| 20 |
| 23 |
| 24 |
+--------+
3 rows in set (0.00 sec)
mysql>
Thanks Lior