Table: Samples
Biologists are studying basic patterns in DNA sequences. Write a solution to identify sample_id with the following patterns:
Return the result table ordered by sample_id in ascending order.
The result format is in the following example.
Examples
Example 1
+----------------+---------+
| Column Name | Type |
+----------------+---------+
| sample_id | int |
| dna_sequence | varchar |
| species | varchar |
+----------------+---------+
sample_id is the unique key for this table.
Each row contains a DNA sequence represented as a string of characters (A, T, G, C) and the species it was collected from.
Table: Samples
Biologists are studying basic patterns in DNA sequences. Write a solution to identify sample_id with the following patterns:
Return the result table ordered by sample_id in ascending order.
The result format is in the following example.
Examples
Example 1
+----------------+---------+
| Column Name | Type |
+----------------+---------+
| sample_id | int |
| dna_sequence | varchar |
| species | varchar |
+----------------+---------+
sample_id is the unique key for this table.
Each row contains a DNA sequence represented as a string of characters (A, T, G, C) and the species it was collected from.