Thanx Golom, with:
SELECT TOP 1 "male" AS gender From AnyTable
UNION
SELECT Top 1 "female" AS gender From AnyTable
it work's!!
I want to present the data in a form. But i also want that my table has the "right" value.
Thanx everyone!
It doesn't work in Acces, is there another way to do it?
I want to make a boolean choice in my table where i can choose between male or female, the only way to do it (that i know) is to look the values up in a table. Of cource i can make a table with male and female, but then my database...
Hello,
I want to create a virtual column in SQL with two values.
Like this:
gender
------
male
female
I can create a column with one value with the statement:
SELECT "male" AS gender
Can someone help me?
Thnx!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.