RE: [PHP-DB] Alternative for Union in MYSQL

From: Date: Wed, 31 Oct 2001 17:53:11 +0000
Subject: RE: [PHP-DB] Alternative for Union in MYSQL
Groups: php.db 
Request: Send a blank email to php-db+get-13893@lists.php.net to get a copy of this message
union available in version 4.0 (alpha) now -----Original Message----- From: Harpreet [mailto:harpreet@crispincorp.com] Sent: Wednesday, October 31, 2001 11:46 AM To: php-db@lists.php.net Subject: [PHP-DB] Alternative for Union in MYSQL I had a view on sqlserver which i am trying to convert to work with mysql. It uses a union which i believe does not work with mysql. What is another alternative for union. Sql with union: select a.asset_id,a.material_id,b.material_id as parent_material_id from lib_asset_tbl a inner join lib_asset_tbl b on a.parent_id=b.asset_id union select asset_id,material_id,'' from lib_asset_tbl where virtual_flag='N' Help is appreciated, Regards, Harpreet Kaur Software Developer Crispin Corporations Inc. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#13893) next »