Jump to content

MySQL CREATE VIEW ?


libertyct

Recommended Posts

I am having diffuculty creating views, i have tried the following example...

 

CREATE TABLE t (qty INT, price INT);

INSERT INTO t VALUES(3, 50);

CREATE VIEW v AS SELECT qty, price, qty*price AS value FROM t;

SELECT * FROM v;

 

it still wont work, i get some user privildge error, i've also heard there misght be a bug in mysql that causes this. has anybody experienced the same issue?

 

 

Link to comment
https://forums.phpfreaks.com/topic/70666-mysql-create-view/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.