Create view error
mysql> CREATE TABLE t (qty INT, price INT);
Query OK, 0 rows affected (0.00 sec)
mysql> INSERT INTO t VALUES(3, 50);
Query OK, 1 row affected (0.00 sec)
mysql> CREATE VIEW v AS SELECT qty, price, qty*price AS value FROM t;
ERROR 1064: You have an error in your SQL syntax near 'VIEW v AS SELECT qty, price, qty*price AS value FROM t' at line
Why this happen?
Thanks
André
Subject
Written By
Posted
Create view error
March 29, 2006 08:43AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.