Logic is something like that
SELECT * FROM table WHERE (condition)
For your case, you may as well use
SELECT 'mobile','name','id', '...any from its table...' FROM table_name
More Related Contents:
- Split comma separated values to columns in Oracle
- How to SELECT FROM stored procedure
- Oracle SELECT TOP 10 records [duplicate]
- What’s the best practice for primary keys in tables? [closed]
- Avoid duplicates in INSERT INTO SELECT query in SQL Server
- What are best practices for multi-language database design? [closed]
- SQL Server: Get table primary key using sql query [duplicate]
- How to determine the number of days in a month in SQL Server?
- Getting all Buildings in range of 5 miles from specified coordinates
- Concatenate values based on ID
- Why and when a LEFT JOIN with condition in WHERE clause is not equivalent to the same LEFT JOIN in ON? [duplicate]
- Call a set-returning function with an array argument multiple times
- how to declare global variable in SQL Server..?
- Fastest check if row exists in PostgreSQL
- Disable all table constraints in Oracle
- Discard millisecond part from timestamp
- How to fill date gaps in MySQL?
- ORA – 00933 confusion with inner join and “as”
- Must declare the scalar variable
- Ad hoc queries vs stored procedures vs Dynamic SQL [closed]
- Function for week of the month in mysql
- How to get the identity of an inserted row?
- SQL column reference “id” is ambiguous
- How to extract group from regular expression in Oracle?
- Rails find record with zero has_many records associated [duplicate]
- Finding a Top Level Parent in SQL
- How to get results in a custom order? [closed]
- Call stored procedure with table-valued parameter from java
- SQL select * from column where year = 2010
- Oracle IN vs Exists difference?