Further to postgres on Rails in Fedora 18 but OT

Reindl Harald h.reindl at thelounge.net
Thu May 16 10:04:43 UTC 2013



Am 16.05.2013 11:57, schrieb Roger:
> Booking_development=> SELECT "registers".* FROM "registers" ORDER BY lname shows nothing because it's a database
> not a table, but I do not understand how to get at it's tables'

SQL basics

select field1,field2 from database.table;
select * from database.table;

or
use database;
select field1,field2 from table;
select * from table;

no idea what "SELECT "registers".*" is supposed to do
it makes pretty no sense to select all from any table in one query

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130516/7ee4f2da/attachment.sig>


More information about the users mailing list