String s = "example.com/link#data";
String data = s.substring(s.indexOf("#")+1);
public class Person {
static FullName staticFullName;
FullName fullName;
int age;
}
public class FullName {
String name;
String surname;
}
public class Test {
public static void main(String[] args) {
Person person = new Person();
System.out.println("This is age " + person.age);
System.out.println("This is fullName " + person.fullName);
System.out.println("This is static fullName " + Person.staticFullName);
}
}
SELECT
client.someone_field, // данные от первой связки
client_second.someone_field // данные от второй связки
car.*
FROM car
JOIN client ON client.id = car.client_id
JOIN client_car ON client_car.car_id = car.id
JOIN client_second ON client_second.id = client_car.client_id
WHERE 1=1;