Advertisement
Guest User

Untitled

a guest
Oct 12th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. SELECT * FROM produtos INNER JOIN vendas ON id = id // esse id é vendas ou produtos?
  2. SELECT * FROM produtos p INNER JOIN vendas v ON p.id = v.id // correto
  3.  
  4. ambiguous column reference
  5.  
  6. for(int i=0; i<=array.length; i++){
  7. print array[i]; //array[3] não existe, só deve ir até dois.
  8.  
  9. public class Teste {
  10. public static void main(String[] args) {
  11. int x = 25 + 0x; #
  12. "abc
  13. }
  14. } /*
  15.  
  16. public class Teste
  17. public static void main(String[[] args) {
  18. int a = 10
  19. int x = * 25;
  20. }
  21.  
  22. public void void metodoA() {}
  23.  
  24. public @void metodoB() {}
  25.  
  26. public void metodoC( {
  27.  
  28. public int metodoD(int interface) {}
  29.  
  30. public int metodoE() {
  31. double x = new for while;
  32. do { System.out.println("X"); };
  33. }
  34. } (
  35.  
  36. public class Teste extends Teste {
  37. public static void main(String[] args) {
  38. int x = "abc" * true;
  39. int m = 5 * (new Teste(4) + x()) - "z";
  40. int h = 5.6;
  41. }
  42.  
  43. public static void main(String[] args) {}
  44.  
  45. private void x() {
  46. int[] b = new String[] {"Oi"};
  47. NaoAchei.naoSei();
  48. g = 4;
  49. Runnable p = new Runnable();
  50. Runnable q = new Runnable() {
  51. @Override
  52. protected void run() {}
  53. };
  54. q.foo();
  55. Teste.x();
  56. }
  57.  
  58. class String2 extends String {}
  59.  
  60. class Carro implements Runnable {
  61. @Override
  62. public void what() {}
  63. }
  64.  
  65. class Carro2 extends Runnable {}
  66.  
  67. void y(int a, int a) {}
  68. }
  69.  
  70. public class Teste {
  71. // Calcula todos os números primos de 0 a 100.
  72. public static void main(String[] args) {
  73. String x = null;
  74. System.out.println(x.trim());
  75. }
  76. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement