Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I am basically trying to replicate functionality I know exists in MySQL. In MySQL it would look like:
SUBSTRING_INDEX(p.url, 'selection=', -1)
How do I replicate this in PSQL?
SELECT split_part(p.url, 'selection=', 2)...
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 days ago.
Improve this question
I have a query like:
SELECT * from table where column1=5 or column2=8
I need an alternative query to the above query. How is that possible?
I cannot guess the exact answer.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'd have to make a SELECT ordering by first a column and then by another column... Is it possibile?
SELECT * FROM table_name ORDER BY colum1, column2
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
What is nvarchar2 in sql or MySQL
It is a data type used to store string values up to 16 bits long.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I struggle with a MySQL Join.
These are my tables:
user(id, name,...);
aim(id, title,...);
aim2user(userID, aimID);
A user can have multiple aims.
I would like to return all aims which are NOT selectet by user X.
How is this possible?
select id from aim where id not in (select zeildID from aim2user where userID=X)
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
how to load mysql table to memorystream with delphi? If possible; making select * from table where ?=? will be very fast. but how?
If you have FireDAC, you could use LocalSQL to write a SQL query against any TDataSet descendent, including an in memory TClientDataSet or FDMemTable.
It's explained in the documentation, and there is a webinar from the author of FireDAC demonstrating how to do it.